Files
Nim/lib/pure
dlesnoff b0b4b498c8 std/math: Add ^ overload for float32 and float64 (#20898)
I have added a new overload of `^` for float exponents.
Is two overloads for `float32` and `float64` better than just one
overload with `SomeFloat` type ?
I guess this would not work with `SomeFloat`, as `pow` is not defined
for `float`.

Another remark. Maybe we should catch exponents with 0.5 and call `sqrt`
instead ?

---------

Co-authored-by: Clay Sweetser <Varriount@users.noreply.github.com>
Co-authored-by: metagn <metagngn@gmail.com>
(cherry picked from commit e9a4d096ab)
2025-01-14 07:33:42 +01:00
..
2015-10-01 12:05:45 -07:00
2024-05-16 23:22:49 +02:00
2024-07-26 20:45:52 +02:00
2021-01-09 00:24:41 +01:00
2022-12-03 21:25:49 +08:00
2023-12-18 13:25:49 +08:00