cvs commit: src/lib/libm/src lrintf.c s_rintf.c

Peter Avalos pavalos at crater.dragonflybsd.org
Sat Jun 16 19:30:06 PDT 2007


pavalos     2007/06/16 19:27:53 PDT

DragonFly src repository

  Modified files:
    lib/libm/src         lrintf.c s_rintf.c 
  Log:
  make an intermediate float variable "volatile" on i386 to work around a gcc
  optimization problem: subsequent add/subs were done inside FPU registers,
  with "double" precision, without rounding to "float" in between
  
  Obtained-from:  NetBSD
  
  Revision  Changes    Path
  1.2       +7 -3      src/lib/libm/src/lrintf.c
  1.2       +6 -2      src/lib/libm/src/s_rintf.c


http://www.dragonflybsd.org/cvsweb/src/lib/libm/src/lrintf.c.diff?r1=1.1&r2=1.2&f=u
http://www.dragonflybsd.org/cvsweb/src/lib/libm/src/s_rintf.c.diff?r1=1.1&r2=1.2&f=u





More information about the Commits mailing list