Clang doesn't support disabling individual optimizations, just everything.
| 118 | #if defined __clang__ |
| 119 | // Clang doesn't support disabling individual optimizations, just everything. |
| 120 | __attribute__((optnone)) |
| 121 | #else |
| 122 | __attribute__((optimize("signed-zeros"))) |
| 123 | #endif |
| 124 | inline float normalizeZero(float x) { |
| 125 | return x + 0.f; |
| 126 | } |
| 127 | |
| 128 | /** Euclidean modulus. Always returns `0 <= mod < b`. |
| 129 | See https://en.wikipedia.org/wiki/Euclidean_division. |
no outgoing calls
no test coverage detected