GASP patch

Ben Elliston bje@redhat.com
Tue Feb 12 15:44:00 GMT 2002


>>>>> "Ben" == Ben Elliston <bje@redhat.com> writes:

  Ben> I would like to submit the following patch, which corrects GASP's
  Ben> handling of floating point constants (`flonums' in GAS terminology).
  Ben> Previously, a floating point constant such as 12.12 would be converted
  Ben> from the currently specified base into decimal.  Worse, the fractional
  Ben> component of a float would be scanned as a separate integer, leading
  Ben> to strange transformations such as 12.001 => 12.1.

  Ben> This patch clarifies GASP's position on flonums and restricts their
  Ben> intepretation to base 10.  Thinking that this is probably newsworthy,
  Ben> I've added a note to the NEWS file.  New test case files are MIME
  Ben> attached at the end of this message.

  Ben> Okay to commit?

I've not received any feedback on this patch (other than a one-liner
fix that Alan Modra pointed out).  Okay to commit?

Ben



More information about the Binutils mailing list