Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Jul 2004 23:56:07 +0000 (UTC)
From:      Andrew Gallatin <gallatin@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libc/powerpc _fpmath.hsrc/lib/libc/powerpc/stdlib gdtoa.mk src/sys/powerpc/include float.h
Message-ID:  <200407192356.i6JNu74n070821@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407192356.i6JNu74n070821>