| 10 | } |
| 11 | |
| 12 | double power(double x, int n) // power() has external linkage |
| 13 | { |
| 14 | return n >= 0 ? localHelper(x, static_cast<unsigned>(n)) |
| 15 | : 1.0 / localHelper(x, static_cast<unsigned>(-n)); |
| 16 | } |
nothing calls this directly
no test coverage detected