Back to index
Go to the source code of this file.
Definition at line 24 of file s_rintf.c.
float two23 = copysignf (0x1.0p23, x);
r = x + two23;
r = r - two23;
/* rint(-0.1) == -0, and in general we'll always have the same sign
as our input. */
return copysign (r, x);