mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 05:42:29 +00:00
Make further progress on non-x86 support
This commit is contained in:
parent
aef9a69a60
commit
036b9a0002
155 changed files with 2307 additions and 653 deletions
|
@ -22,5 +22,5 @@
|
|||
* Returns 𝑥 × 2ʸ.
|
||||
*/
|
||||
double scalbln(double x, long n) {
|
||||
return ldexp(x, n);
|
||||
return ldexp(x, n > 65536 ? 65536 : n < -65536 ? -65536 : (int)n);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue