diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-08-28 11:58:09 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-08-28 11:58:09 +0200 |
| commit | ca34109b59c92df1698c69455cab59ad0d105aab (patch) | |
| tree | 4f7ed9df2d4c690198101b1089bc979ff1e40b77 /dev/LibC++/base_math.h | |
| parent | a7b43769b2f6dae5abdda4cb2649e43b02fbeea7 (diff) | |
fix: LibC++: rename `sqr` to `surd`.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'dev/LibC++/base_math.h')
| -rw-r--r-- | dev/LibC++/base_math.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dev/LibC++/base_math.h b/dev/LibC++/base_math.h index ca6aace..94c34e8 100644 --- a/dev/LibC++/base_math.h +++ b/dev/LibC++/base_math.h @@ -37,7 +37,7 @@ inline real_type pow(real_type in) { /// @brief Square of function, with Base template argument. /// @param of Base argument to find sqquare of template <size_t Base> -inline real_type sqr(real_type in) { +inline real_type surd(real_type in) { if (in == 0) return 0; return pow<1 / Base>(in); |
