Home
last modified time | relevance | path

Searched refs:DBL_FRACBITS (Results 1 – 21 of 21) sorted by relevance

/openbsd/lib/libc/gen/
H A Dmodf.c66 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 Dm88100_fp.c93 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 Ds_lround.c67 if (e < DBL_FRACBITS) { in LROUNDNAME()
77 shift = e - DBL_FRACBITS; in LROUNDNAME()
/openbsd/lib/libc/arch/sparc64/fpu/
H A Dfpu_implode.c387 #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 Dfpu_explode.c254 #define DBL_SHIFT (DBL_FRACBITS - 32 - FP_LG)
257 frac = i & mask(DBL_FRACBITS - 32);
/openbsd/sys/arch/sparc64/fpu/
H A Dfpu_implode.c377 #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 Dfpu_explode.c191 #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 Dieee.h86 #define DBL_FRACBITS 52 macro
/openbsd/sys/arch/m88k/include/
H A Dieee.h82 #define DBL_FRACBITS 52 macro
/openbsd/sys/arch/powerpc/include/
H A Dieee.h83 #define DBL_FRACBITS 52 macro
/openbsd/sys/arch/powerpc64/include/
H A Dieee.h83 #define DBL_FRACBITS 52 macro
/openbsd/sys/arch/sh/include/
H A Dieee.h83 #define DBL_FRACBITS 52 macro
/openbsd/sys/arch/hppa/include/
H A Dieee.h83 #define DBL_FRACBITS 52 macro
/openbsd/sys/arch/i386/include/
H A Dieee.h84 #define DBL_FRACBITS 52 macro
/openbsd/sys/arch/amd64/include/
H A Dieee.h84 #define DBL_FRACBITS 52 macro
/openbsd/sys/arch/arm64/include/
H A Dieee.h84 #define DBL_FRACBITS 52 macro
/openbsd/sys/arch/sparc64/include/
H A Dieee.h84 #define DBL_FRACBITS 52 macro
/openbsd/sys/arch/riscv64/include/
H A Dieee.h84 #define DBL_FRACBITS 52 macro
/openbsd/sys/arch/arm/include/
H A Dieee.h97 #define DBL_FRACBITS 52 macro
/openbsd/sys/arch/mips64/include/
H A Dieee.h83 #define DBL_FRACBITS 52 macro
/openbsd/sys/arch/mips64/mips64/
H A Dfp_emulate.c124 #define ONE_F64 (float64)((uint64_t)DBL_EXP_BIAS << DBL_FRACBITS)