From ca34109b59c92df1698c69455cab59ad0d105aab Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Thu, 28 Aug 2025 11:58:09 +0200 Subject: fix: LibC++: rename `sqr` to `surd`. Signed-off-by: Amlal El Mahrouss --- dev/LibC++/base_math.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dev/LibC++') 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 -inline real_type sqr(real_type in) { +inline real_type surd(real_type in) { if (in == 0) return 0; return pow<1 / Base>(in); -- cgit v1.2.3