Home
last modified time | relevance | path

Searched refs:hx (Results 1 – 2 of 2) sorted by relevance

/math/
A Ds_nextafter.c37 int32_t hx,hy,ix,iy; in __nextafter() local
40 EXTRACT_WORDS(hx,lx,x); in __nextafter()
57 if(hx>=0) { /* x > 0 */ in __nextafter()
58 if(hx>hy||((hx==hy)&&(lx>ly))) { /* x > y, x -= ulp */ in __nextafter()
59 if(lx==0) hx -= 1; in __nextafter()
63 if(lx==0) hx += 1; in __nextafter()
66 if(hy>=0||hx>hy||((hx==hy)&&(lx>ly))){/* x < y, x -= ulp */ in __nextafter()
67 if(lx==0) hx -= 1; in __nextafter()
71 if(lx==0) hx += 1; in __nextafter()
74 hy = hx&0x7ff00000; in __nextafter()
[all …]
A Ds_nexttowardf.c31 int32_t hx,hy,ix,iy; in __nexttowardf() local
34 GET_FLOAT_WORD(hx,x); in __nexttowardf()
36 ix = hx&0x7fffffff; /* |x| */ in __nexttowardf()
51 if(hx>=0) { /* x > 0 */ in __nexttowardf()
53 hx -= 1; in __nexttowardf()
55 hx += 1; in __nexttowardf()
58 hx -= 1; in __nexttowardf()
60 hx += 1; in __nexttowardf()
62 hy = hx&0x7f800000; in __nexttowardf()
73 SET_FLOAT_WORD(x,hx); in __nexttowardf()

Completed in 4 milliseconds