equal
deleted
inserted
replaced
2393 // compute pow(x,y) and exp(x) with x86 instructions. Don't cover |
2393 // compute pow(x,y) and exp(x) with x86 instructions. Don't cover |
2394 // all corner cases and may result in NaN and require fallback to a |
2394 // all corner cases and may result in NaN and require fallback to a |
2395 // runtime call. |
2395 // runtime call. |
2396 void fast_pow(); |
2396 void fast_pow(); |
2397 void fast_exp(); |
2397 void fast_exp(); |
|
2398 void increase_precision(); |
|
2399 void restore_precision(); |
2398 |
2400 |
2399 // computes exp(x). Fallback to runtime call included. |
2401 // computes exp(x). Fallback to runtime call included. |
2400 void exp_with_fallback(int num_fpu_regs_in_use) { pow_or_exp(true, num_fpu_regs_in_use); } |
2402 void exp_with_fallback(int num_fpu_regs_in_use) { pow_or_exp(true, num_fpu_regs_in_use); } |
2401 // computes pow(x,y). Fallback to runtime call included. |
2403 // computes pow(x,y). Fallback to runtime call included. |
2402 void pow_with_fallback(int num_fpu_regs_in_use) { pow_or_exp(false, num_fpu_regs_in_use); } |
2404 void pow_with_fallback(int num_fpu_regs_in_use) { pow_or_exp(false, num_fpu_regs_in_use); } |