__except1
function · crt · boundary
- Address
0x40c85b· 152 bytes, up to0x40c8f2- Signature
double __cdecl (uint32_t flags, uint32_t op, double arg, double result, uint32_t cw)- Meaning
- Reports a masked exception: marks the status, sets errno from the flags, restores the control word, returns result
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- crt/math#splitting-a-double
- Test
crt::crt_frexp_difftest
Finding: Splitting a double in crt: math routines
_frexp(x, &e) (0x7fd8db) answers m in [0.5, 1) with the sign of x and stores e with x = m·2^e.
A zero of either sign answers +0 and e 0. A subnormal is shifted left until bit 52 is set, e
starting at −1021 and falling one a step, so m and e are exact. An infinity stores e = −1 and
answers the indefinite, a quiet NaN answers itself, a signalling NaN answers itself with its quiet
bit set; each sets errno to 33. The routine runs under the control word 0x133f, masked with 64-bit
precision, and restores the caller's.
The derivation is in the doc.
Callers 4
Callees 6
- __raise_exc crt
- __handle_exc crt
- __umatherr crt
- __set_errno crt
- __errcode crt
- __ctrlfp crt
Calls and jumps by a bare address, from tables/calls.tsv.