mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-14 08:07:37 +00:00
Expose fast_log2().
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user