/openbsd/lib/libc/gen/ |
H A D | modf.c | 66 if ((int)u.s.dbl_exp - DBL_EXP_BIAS > DBL_FRACBITS - 1) { in modf() 98 frac >>= DBL_FRACBITS - (u.s.dbl_exp - DBL_EXP_BIAS); in modf() 99 frac <<= DBL_FRACBITS - (u.s.dbl_exp - DBL_EXP_BIAS); in modf()
|
/openbsd/sys/arch/m88k/m88k/ |
H A D | m88100_fp.c | 93 result |= ls >> (DBL_FRACBITS - SNG_FRACBITS); in m88100_fpu_parse_single() 393 mant32 |= frame->tf_fprl >> (DBL_FRACBITS - SNG_FRACBITS); in m88100_fpu_imprecise_exception() 415 mant64 <<= (DBL_FRACBITS - FPRH_MANTH_BITS + 1); in m88100_fpu_imprecise_exception() 426 if ((mant64 & (1LL << DBL_FRACBITS)) == 0) { in m88100_fpu_imprecise_exception() 428 mant64 |= 1LL << DBL_FRACBITS; in m88100_fpu_imprecise_exception() 433 mant64 <<= (63 - DBL_FRACBITS - 1); in m88100_fpu_imprecise_exception()
|
/openbsd/lib/libm/src/ |
H A D | s_lround.c | 67 if (e < DBL_FRACBITS) { in LROUNDNAME() 77 shift = e - DBL_FRACBITS; in LROUNDNAME()
|
/openbsd/lib/libc/arch/sparc64/fpu/ |
H A D | fpu_implode.c | 387 #define DBL_EXP(e) ((e) << (DBL_FRACBITS & 31)) 391 (void) __fpu_shr(fp, FP_NMANT - 1 - DBL_FRACBITS); 405 (void) __fpu_shr(fp, FP_NMANT - FP_NG - DBL_FRACBITS - exp); 416 (void) __fpu_shr(fp, FP_NMANT - FP_NG - 1 - DBL_FRACBITS);
|
H A D | fpu_explode.c | 254 #define DBL_SHIFT (DBL_FRACBITS - 32 - FP_LG) 257 frac = i & mask(DBL_FRACBITS - 32);
|
/openbsd/sys/arch/sparc64/fpu/ |
H A D | fpu_implode.c | 377 #define DBL_EXP(e) ((e) << (DBL_FRACBITS & 31)) in fpu_ftod() 381 (void) fpu_shr(fp, FP_NMANT - 1 - DBL_FRACBITS); in fpu_ftod() 395 (void) fpu_shr(fp, FP_NMANT - FP_NG - DBL_FRACBITS - exp); in fpu_ftod() 406 (void) fpu_shr(fp, FP_NMANT - FP_NG - 1 - DBL_FRACBITS); in fpu_ftod()
|
H A D | fpu_explode.c | 191 #define DBL_SHIFT (DBL_FRACBITS - 32 - FP_LG) in fpu_dtof() 194 frac = i & mask(DBL_FRACBITS - 32); in fpu_dtof()
|
/openbsd/sys/arch/alpha/include/ |
H A D | ieee.h | 86 #define DBL_FRACBITS 52 macro
|
/openbsd/sys/arch/m88k/include/ |
H A D | ieee.h | 82 #define DBL_FRACBITS 52 macro
|
/openbsd/sys/arch/powerpc/include/ |
H A D | ieee.h | 83 #define DBL_FRACBITS 52 macro
|
/openbsd/sys/arch/powerpc64/include/ |
H A D | ieee.h | 83 #define DBL_FRACBITS 52 macro
|
/openbsd/sys/arch/sh/include/ |
H A D | ieee.h | 83 #define DBL_FRACBITS 52 macro
|
/openbsd/sys/arch/hppa/include/ |
H A D | ieee.h | 83 #define DBL_FRACBITS 52 macro
|
/openbsd/sys/arch/i386/include/ |
H A D | ieee.h | 84 #define DBL_FRACBITS 52 macro
|
/openbsd/sys/arch/amd64/include/ |
H A D | ieee.h | 84 #define DBL_FRACBITS 52 macro
|
/openbsd/sys/arch/arm64/include/ |
H A D | ieee.h | 84 #define DBL_FRACBITS 52 macro
|
/openbsd/sys/arch/sparc64/include/ |
H A D | ieee.h | 84 #define DBL_FRACBITS 52 macro
|
/openbsd/sys/arch/riscv64/include/ |
H A D | ieee.h | 84 #define DBL_FRACBITS 52 macro
|
/openbsd/sys/arch/arm/include/ |
H A D | ieee.h | 97 #define DBL_FRACBITS 52 macro
|
/openbsd/sys/arch/mips64/include/ |
H A D | ieee.h | 83 #define DBL_FRACBITS 52 macro
|
/openbsd/sys/arch/mips64/mips64/ |
H A D | fp_emulate.c | 124 #define ONE_F64 (float64)((uint64_t)DBL_EXP_BIAS << DBL_FRACBITS)
|