Home
last modified time | relevance | path

Searched refs:ey (Results 1 – 3 of 3) sorted by relevance

/hal_rpi_pico-latest/src/rp2_common/pico_float/
Dfloat_math.c470 int ex,ey; in WRAPPER_FUNC() local
471 ex=fgetexp(x); ey=fgetexp(y); in WRAPPER_FUNC()
472 if(ex>=0x7f+50||ey>=0x7f+50) { // overflow, or nearly so in WRAPPER_FUNC()
476 else if(ex<=0x7f-50&&ey<=0x7f-50) { // underflow, or nearly so in WRAPPER_FUNC()
521 int sx,ex,ey; in WRAPPER_FUNC() local
524 FUNPACK(iy,ey,my); in WRAPPER_FUNC()
528 if(ey==0) return FPINF; in WRAPPER_FUNC()
533 if(ex<ey) return x; // |x|<|y|, including case x=±0 in WRAPPER_FUNC()
534 mx=frem_0(mx,my,ex-ey,0); in WRAPPER_FUNC()
536 return fix2float(mx,0x7f-ey+23); in WRAPPER_FUNC()
[all …]
Dfloat_v1_rom_shim_rp2040.S133 bge 1f @ ex>=ey?
/hal_rpi_pico-latest/src/rp2_common/pico_double/
Ddouble_math.c516 int ex,ey; in WRAPPER_FUNC() local
517 ex=dgetexp(x); ey=dgetexp(y); in WRAPPER_FUNC()
518 if(ex>=0x3ff+400||ey>=0x3ff+400) { // overflow, or nearly so in WRAPPER_FUNC()
522 else if(ex<=0x3ff-400&&ey<=0x3ff-400) { // underflow, or nearly so in WRAPPER_FUNC()
567 int sx,ex,ey; in WRAPPER_FUNC() local
570 DUNPACK(iy,ey,my); in WRAPPER_FUNC()
572 if(ey==0) return PINF; in WRAPPER_FUNC()
577 if(ex<ey) return x; // |x|<|y|, including case x=±0 in WRAPPER_FUNC()
578 mx=drem_0(mx,my,ex-ey,0); in WRAPPER_FUNC()
580 return fix642double(mx,0x3ff-ey+52); in WRAPPER_FUNC()
[all …]