003 File Manager
Current Path:
/usr/src/lib/libc/amd64/gen
usr
/
src
/
lib
/
libc
/
amd64
/
gen
/
📁
..
📄
Makefile.inc
(286 B)
📄
_set_tp.c
(1.53 KB)
📄
_setjmp.S
(3.05 KB)
📄
fabs.S
(1.61 KB)
📄
flt_rounds.c
(476 B)
📄
fpgetmask.c
(123 B)
📄
fpgetprec.c
(121 B)
📄
fpgetround.c
(122 B)
📄
fpgetsticky.c
(127 B)
📄
fpsetmask.c
(135 B)
📄
fpsetprec.c
(131 B)
📄
fpsetround.c
(131 B)
📄
infinity.c
(276 B)
📄
makecontext.c
(3.53 KB)
📄
rfork_thread.S
(2.57 KB)
📄
setjmp.S
(3.56 KB)
📄
signalcontext.c
(3.48 KB)
📄
sigsetjmp.S
(3.72 KB)
Editing: flt_rounds.c
/* * Written by J.T. Conklin, Apr 10, 1995 * Public domain. */ #include <sys/cdefs.h> __FBSDID("$FreeBSD$"); #include <float.h> static const int map[] = { 1, /* round to nearest */ 3, /* round to zero */ 2, /* round to negative infinity */ 0 /* round to positive infinity */ }; int __flt_rounds(void) { int x; /* Assume that the x87 and the SSE unit agree on the rounding mode. */ __asm("fnstcw %0" : "=m" (x)); return (map[(x >> 10) & 0x03]); }
Upload File
Create Folder