Datasheet

Table Of Contents
Offset V2 Cycles
(Avg)
Description
0x50 428 double _dln( double v)
Return the natural logarithm of v. If return -Infinity
0x54 39 int _dcmp(double a, double b)
Compares two floating point numbers, returning:
0 if a == b
-1 if a < b
1 if a > b
0x58 2168 double _datan2(double y, double x)
Computes the arc tangent of y/x using the signs of arguments to determine the correct
quadrant
0x5c 55 double _int642double(int64_t v)
Convert a signed 64-bit integer to the nearest double value, rounding to even on tie
0x60 56 double _dix642double(int64_t v, int n)
Convert a signed fixed point 64-bit integer representation to the nearest double value,
rounding to even on tie. n specifies the position of the binary point in fixed point, so
0x64 50 double _uint642double(uint64_t v)
Convert an unsigned 64-bit integer to the nearest double value, rounding to even on tie
0x68 49 double _ufix642double(uint64_t v, int n)
Convert an unsigned fixed point 64-bit integer representation to the nearest double value,
rounding to even on tie. n specifies the position of the binary point in fixed point, so
0x6c 64 _double2int64
Convert a double to a signed 64-bit integer, rounding towards -Infinity, and clamping the
result to lie within the range -0x8000000000000000 to 0x7FFFFFFFFFFFFFFF
0x70 63 _double2fix64
Convert a double to a signed fixed point 64-bit integer representation where n specifies the
position of the binary point in the resulting fixed point representation - e.g. _double2fix(0.5f,
16) == 0x8000. This method rounds towards -Infinity, and clamps the resulting integer to lie
within the range -0x8000000000000000 to 0x7FFFFFFFFFFFFFFF
0x74 53 _double2uint64
Convert a double to an unsigned 64-bit integer, rounding towards -Infinity, and clamping the
result to lie within the range 0x0000000000000000 to 0xFFFFFFFFFFFFFFFF
RP2040 Datasheet
2.7. Bootrom 126