From e6747fefa78eb381d4e79698069bff3a89f38ac3 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Sat, 8 May 2021 20:24:42 +0200 Subject: [PATCH] Toolchain+LibM: Make C++ standard library math functions available With this fixed we get libstdc++v3's aliases for C99 math functions in the std namespace. Unfortunately for this to work the toolchain needs to be rebuilt. The good news are that this by itself does not require a toolchain rebuild just yet. --- Userland/Libraries/LibM/math.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Libraries/LibM/math.h b/Userland/Libraries/LibM/math.h index defff09b15..199e28eec1 100644 --- a/Userland/Libraries/LibM/math.h +++ b/Userland/Libraries/LibM/math.h @@ -74,7 +74,7 @@ __BEGIN_DECLS #define isless(x, y) __builtin_isless((x), (y)) #define islessequal(x, y) __builtin_islessequal((x), (y)) #define islessgreater(x, y) __builtin_islessgreater((x), (y)) -#define isunordered(x, y) __builtin_isunoredered((x), (y)) +#define isunordered(x, y) __builtin_isunordered((x), (y)) #define DOUBLE_MAX ((double)0b0111111111101111111111111111111111111111111111111111111111111111) #define DOUBLE_MIN ((double)0b0000000000010000000000000000000000000000000000000000000000000000)