From 67430b34921f66955b649925d8eee0b66eb14474 Mon Sep 17 00:00:00 2001 From: mintsuki Date: Mon, 29 Jan 2024 20:46:39 +0100 Subject: [PATCH] options/ansi: Expose finite() and finitef() in math.h --- options/ansi/include/math.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/options/ansi/include/math.h b/options/ansi/include/math.h index ff98c167cc..7d7ab3c35e 100644 --- a/options/ansi/include/math.h +++ b/options/ansi/include/math.h @@ -368,6 +368,11 @@ long double fmal(long double, long double, long double); extern int signgam; #define __signgam signgam +// BSD floating-point classification functions - obsolete + +int finite(double x); +int finitef(float x); + #endif /* !__MLIBC_ABI_ONLY */ #ifdef __cplusplus