mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-06-25 15:20:31 -04:00
Expose fast_log2().
This commit is contained in:
parent
7d60b940d6
commit
d2531016e5
2 changed files with 3 additions and 1 deletions
|
@ -59,7 +59,7 @@ uint32_t gcd(const uint32_t u, const uint32_t v) {
|
|||
}
|
||||
#endif
|
||||
|
||||
static float fast_log2(const float val) {
|
||||
float fast_log2(const float val) {
|
||||
// Thank you Stack Overflow!
|
||||
// http://stackoverflow.com/questions/9411823/fast-log2float-x-implementation-c
|
||||
union {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue