DragonFly commits List (threaded) for 2007-06
DragonFly BSD
DragonFly commits List (threaded) for 2007-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Peter Avalos <pavalos@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 16 Jun 2007 19:27:53 -0700 (PDT)

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]