mirror of
https://github.com/byteworksinc/ORCA-C.git
synced 2025-01-02 19:29:21 +00:00
Note that scalbn uses FLT_RADIX.
This is the reason that it is distinct from ldexp, although they amount to the same thing in the case of binary floating-point.
This commit is contained in:
parent
b2874b8bf6
commit
3e08ba39aa
2
cc.notes
2
cc.notes
@ -964,7 +964,7 @@ double scalbn(double x, int n);
|
||||
float scalbnf(float x, int n);
|
||||
long double scalbnl(long double x, int n);
|
||||
|
||||
These functions return x * 2^n, computed efficiently.
|
||||
These functions return x * FLT_RADIX^n, computed efficiently. In ORCA/C, FLT_RADIX is 2.
|
||||
|
||||
#include <math.h>
|
||||
double trunc(double x);
|
||||
|
Loading…
Reference in New Issue
Block a user