003 File Manager
Current Path:
/usr/src/lib/libc/i386/gen
usr
/
src
/
lib
/
libc
/
i386
/
gen
/
📁
..
📄
Makefile.inc
(205 B)
📄
_ctx_start.S
(1.98 KB)
📄
_set_tp.c
(1.53 KB)
📄
_setjmp.S
(2.59 KB)
📄
fabs.S
(1.89 KB)
📄
flt_rounds.c
(397 B)
📄
infinity.c
(276 B)
📄
makecontext.c
(5.3 KB)
📄
rfork_thread.S
(2.86 KB)
📄
setjmp.S
(2.95 KB)
📄
signalcontext.c
(2.84 KB)
📄
sigsetjmp.S
(3.35 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; __asm("fnstcw %0" : "=m" (x)); return (map[(x >> 10) & 0x03]); }
Upload File
Create Folder