* @returns Base e logarithm of the value. * This is fast, inline and quite accurate algorithm. * Accuracy: ~1.e-5 * Speed: ~3x over logf() */
| 82 | * Speed: ~3x over logf() |
| 83 | */ |
| 84 | static inline float FastLogf(float value) noexcept { |
| 85 | return 0.69314718f * FastLog2f(value); |
| 86 | } |
| 87 | |
| 88 | /** |
| 89 | * @returns Base 2 logarithm of the value. |
no test coverage detected