cvs commit: src/lib/libc/gdtoa _hdtoa.c

David Schultz das at FreeBSD.org
Sun Jul 3 01:04:10 GMT 2005


das         2005-01-18 18:44:07 UTC

  FreeBSD src repository

  Modified files:
    lib/libc/gdtoa       _hdtoa.c 
  Log:
  Cut out the gordian handling of subnormals by bit fiddling, and
  instead use the FPU to convert subnormals to normals.  (NB: Further
  simplification is possible, such as using the FPU for the rounding
  step.)
  
  This fixes a bug reported by stefanf where long double subnormals in
  the Intel 80-bit format would be output with one fewer digit than
  necessary when the default precision was used.
  
  Revision  Changes    Path
  1.3       +15 -128   src/lib/libc/gdtoa/_hdtoa.c



More information about the cvs-src mailing list