diff src/pr-output.cc @ 5086:55f5b61d74b7

[project @ 2004-11-19 21:50:50 by jwe]
author jwe
date Fri, 19 Nov 2004 21:50:50 +0000
parents 160365410ad4
children 23b37da9fd5b
line wrap: on
line diff
--- a/src/pr-output.cc	Fri Nov 19 03:26:32 2004 +0000
+++ b/src/pr-output.cc	Fri Nov 19 21:50:50 2004 +0000
@@ -350,7 +350,7 @@
       if (print_big_e)
 	fmt.uppercase ();
     }
-  else if (inf_or_nan || int_only)
+  else if (! bank_format && (inf_or_nan || int_only))
     fmt = float_format (fw, rd);
   else
     fmt = float_format (fw, rd, std::ios::fixed);
@@ -497,7 +497,7 @@
       if (print_big_e)
 	fmt.uppercase ();
     }
-  else if (int_or_inf_or_nan)
+  else if (! bank_format && int_or_inf_or_nan)
     fmt = float_format (fw, rd);
   else
     fmt = float_format (fw, rd, std::ios::fixed);
@@ -654,7 +654,7 @@
 	  i_fmt.uppercase ();
 	}
     }
-  else if (inf_or_nan || int_only)
+  else if (! bank_format && (inf_or_nan || int_only))
     {
       r_fmt = float_format (r_fw, rd);
       i_fmt = float_format (i_fw, rd);
@@ -841,7 +841,7 @@
 	  i_fmt.uppercase ();
 	}
     }
-  else if (int_or_inf_or_nan)
+  else if (! bank_format && int_or_inf_or_nan)
     {
       r_fmt = float_format (r_fw, rd);
       i_fmt = float_format (i_fw, rd);
@@ -1005,7 +1005,7 @@
       if (print_big_e)
 	fmt.uppercase ();
     }
-  else if (all_ints)
+  else if (! bank_format && all_ints)
     fmt = float_format (fw, rd);
   else
     fmt = float_format (fw, rd, std::ios::fixed);