Replaced all uses of float with double.

Mon, 10 Mar 2003 09:58:09 +0000

author
eric
date
Mon, 10 Mar 2003 09:58:09 +0000
changeset 92
e3254135cf76
parent 91
e63762afae80
child 93
98a8a2c763fd

Replaced all uses of float with double.

t2p.c file | annotate | diff | revisions
tumble.c file | annotate | diff | revisions
     1.1 --- a/t2p.c	Mon Mar 10 09:49:50 2003 +0000
     1.2 +++ b/t2p.c	Mon Mar 10 09:58:09 2003 +0000
     1.3 @@ -4,7 +4,7 @@
     1.4   *      will be compressed using ITU-T T.6 (G4) fax encoding.
     1.5   *
     1.6   * Main program
     1.7 - * $Id: t2p.c,v 1.26 2003/03/04 18:09:49 eric Exp $
     1.8 + * $Id: t2p.c,v 1.27 2003/03/10 01:58:09 eric Exp $
     1.9   * Copyright 2001, 2002, 2003 Eric Smith <eric@brouhaha.com>
    1.10   *
    1.11   * This program is free software; you can redistribute it and/or modify
    1.12 @@ -237,8 +237,8 @@
    1.13  
    1.14  /* frees original! */
    1.15  static Bitmap *resize_bitmap (Bitmap *src,
    1.16 -			      float x_resolution,
    1.17 -			      float y_resolution,
    1.18 +			      double x_resolution,
    1.19 +			      double y_resolution,
    1.20  			      input_attributes_t input_attributes)
    1.21  {
    1.22    Rect src_rect;
    1.23 @@ -304,8 +304,8 @@
    1.24    uint16_t planar_config;
    1.25  
    1.26    uint16_t resolution_unit;
    1.27 -  float x_resolution, y_resolution;
    1.28 -  float dest_x_resolution, dest_y_resolution;
    1.29 +  double x_resolution, y_resolution;
    1.30 +  double dest_x_resolution, dest_y_resolution;
    1.31  
    1.32    double width_points, height_points;  /* really 1/72 inch units rather than
    1.33  					  points */
     2.1 --- a/tumble.c	Mon Mar 10 09:49:50 2003 +0000
     2.2 +++ b/tumble.c	Mon Mar 10 09:58:09 2003 +0000
     2.3 @@ -4,7 +4,7 @@
     2.4   *      will be compressed using ITU-T T.6 (G4) fax encoding.
     2.5   *
     2.6   * Main program
     2.7 - * $Id: tumble.c,v 1.26 2003/03/04 18:09:49 eric Exp $
     2.8 + * $Id: tumble.c,v 1.27 2003/03/10 01:58:09 eric Exp $
     2.9   * Copyright 2001, 2002, 2003 Eric Smith <eric@brouhaha.com>
    2.10   *
    2.11   * This program is free software; you can redistribute it and/or modify
    2.12 @@ -237,8 +237,8 @@
    2.13  
    2.14  /* frees original! */
    2.15  static Bitmap *resize_bitmap (Bitmap *src,
    2.16 -			      float x_resolution,
    2.17 -			      float y_resolution,
    2.18 +			      double x_resolution,
    2.19 +			      double y_resolution,
    2.20  			      input_attributes_t input_attributes)
    2.21  {
    2.22    Rect src_rect;
    2.23 @@ -304,8 +304,8 @@
    2.24    uint16_t planar_config;
    2.25  
    2.26    uint16_t resolution_unit;
    2.27 -  float x_resolution, y_resolution;
    2.28 -  float dest_x_resolution, dest_y_resolution;
    2.29 +  double x_resolution, y_resolution;
    2.30 +  double dest_x_resolution, dest_y_resolution;
    2.31  
    2.32    double width_points, height_points;  /* really 1/72 inch units rather than
    2.33  					  points */