cvs commit: src/lib/libc/powerpc _fpmath.hsrc/lib/libc/powerpc/stdlib gdtoa.mk src/sys/powerpc/include float.h

Andrew Gallatin gallatin at FreeBSD.org
Mon Jul 19 16:56:07 PDT 2004


gallatin    2004-07-19 23:56:07 UTC

  FreeBSD src repository

  Modified files:
    lib/libc/powerpc     _fpmath.h 
    lib/libc/powerpc/stdlib gdtoa.mk 
    sys/powerpc/include  float.h 
  Log:
  Fix printing of long doubles to match the size  that
  gcc is using.  This fixes devstat consumers (like vmstat, iostat,
  systat) so they don't print crazy zillion digit numbers for
  disk transfers and bandwidth.
  
  According to gcc, long doubles are 64-bits, rather than 128 bits
  like the SVR4 ABI spec wants them to be..  Note that MacOSX also treats
  long doubles as 64-bits, and not 128 bits, so we are in good company.
  
  Reviewed by: das
  Approved by: grehan
  
  Revision  Changes    Path
  1.5       +6 -8      src/lib/libc/powerpc/_fpmath.h
  1.2       +2 -3      src/lib/libc/powerpc/stdlib/gdtoa.mk
  1.7       +9 -9      src/sys/powerpc/include/float.h


More information about the cvs-src mailing list