Datasheet

Table Of Contents
0x10 N/A N/A deprecated
Do not use this function
0x14 N/A N/A deprecated
Do not use this function
0x18 63 63 float _fsqrt(float v)
Return or -Infinity if v is negative. (Note V1 returns +Infinity in this case)
0x1c 37 40 int _float2int(float v)
Convert a float to a signed integer, rounding towards -Infinity, and clamping the
result to lie within the range -0x80000000 to 0x7FFFFFFF
0x20 36 39 int _float2fix(float v, int n)
Convert a float to a signed fixed point integer representation where n specifies the
position of the binary point in the resulting fixed point representation - e.g.
_float2fix(0.5f, 16) == 0x8000. This method rounds towards -Infinity, and clamps
the resulting integer to lie within the range -0x80000000 to 0x7FFFFFFF
0x24 38 39 uint _float2uint(float v)
Convert a float to an unsigned integer, rounding towards -Infinity, and clamping the
result to lie within the range 0x00000000 to 0xFFFFFFFF
0x28 38 38 uint _float2ufix(float v, int n)
Convert a float to an unsigned fixed point integer representation where n specifies
the position of the binary point in the resulting fixed point representation, e.g.
_float2ufix(0.5f, 16) == 0x8000. This method rounds towards -Infinity, and clamps
the resulting integer to lie within the range 0x00000000 to 0xFFFFFFFF
0x2c 55 55 float _int2float(int v)
Convert a signed integer to the nearest float value, rounding to even on tie
0x30 53 53 float _fix2float(int32_t v, int n)
Convert a signed fixed point integer representation to the nearest float value,
rounding to even on tie. n specifies the position of the binary point in fixed point, so
0x34 54 54 float _uint2float(uint32_t v)
Convert an unsigned integer to the nearest float value, rounding to even on tie
0x38 52 52 float _ufix2float(uint32_t v, int n)
Convert an unsigned fixed point integer representation to the nearest float value,
rounding to even on tie. n specifies the position of the binary point in fixed point, so
0x3c 603 587 float _fcos(float angle)
Return the cosine of angle. angle is in radians, and must be in the range -128 to 128
0x40 593 577 float _fsin(float angle)
Return the sine of angle. angle is in radians, and must be in the range -128 to 128
RP2040 Datasheet
2.7. Bootrom 122