mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 22:02:27 +00:00
Add more math fixes
This commit is contained in:
parent
11ec99931b
commit
bfef17eb6d
27 changed files with 236 additions and 61 deletions
|
@ -192,7 +192,7 @@ BENCH(powl, bench) {
|
|||
double _pow(double, double) asm("pow");
|
||||
float _powf(float, float) asm("powf");
|
||||
long double _powl(long double, long double) asm("powl");
|
||||
EZBENCH2("pow", donothing, _pow(.7, .2)); /* ~51ns */
|
||||
EZBENCH2("powf", donothing, _powf(.7, .2)); /* ~52ns */
|
||||
EZBENCH2("powl", donothing, _powl(.7, .2)); /* ~53ns */
|
||||
EZBENCH2("pow", donothing, _pow(.7, .2)); /* ~56ns */
|
||||
EZBENCH2("powf", donothing, _powf(.7, .2)); /* ~56ns */
|
||||
EZBENCH2("powl", donothing, _powl(.7, .2)); /* ~56ns */
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue