diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2025-07-28 14:18:29 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2025-07-28 14:18:29 +0200 |
| commit | 3d6bc090c87a19c358a8b9025d3a2b62d77ab433 (patch) | |
| tree | 8547a8b22165eaf9ffa3cfcce9b2936fe789863f | |
| parent | 1e5c862d8fa7b76b69b8125d454d8f8d6a9cde25 (diff) | |
| download | nissy-core-3d6bc090c87a19c358a8b9025d3a2b62d77ab433.tar.gz nissy-core-3d6bc090c87a19c358a8b9025d3a2b62d77ab433.zip | |
Tiny cleanup
| -rw-r--r-- | src/utils/math.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/math.h b/src/utils/math.h index 95ec0aa..9936558 100644 --- a/src/utils/math.h +++ b/src/utils/math.h | |||
| @@ -137,7 +137,7 @@ intpow(double b, uint64_t e) | |||
| 137 | double r; | 137 | double r; |
| 138 | 138 | ||
| 139 | if (e == 0) | 139 | if (e == 0) |
| 140 | return 1; | 140 | return 1.0; |
| 141 | 141 | ||
| 142 | r = intpow(b, e/2); | 142 | r = intpow(b, e/2); |
| 143 | 143 | ||
