From 61a15515514ddfdcf77ee5c415ad3e8caf6a1d0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Mon, 22 Aug 2005 01:34:32 +0000 Subject: [PATCH] Added empty function stubs for __fpclassify[fl](); they currently pretend that every number is a normal one - maybe someone finds the time to implement them for real before I do :-) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14046 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/system/libroot/posix/math/floatmath.c | 24 +++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/src/system/libroot/posix/math/floatmath.c b/src/system/libroot/posix/math/floatmath.c index 14d303ccae..eaaa91b6fb 100644 --- a/src/system/libroot/posix/math/floatmath.c +++ b/src/system/libroot/posix/math/floatmath.c @@ -92,3 +92,27 @@ __signbitl(long double value) union { long double v; int i[2]; } u = { v: value }; return (u.i[2] & 0x8000) != 0; } + + +int +__fpclassifyf(float value) +{ + // TODO: implement me! + return FP_NORMAL; +} + + +int +__fpclassify(double value) +{ + // TODO: implement me! + return FP_NORMAL; +} + + +int +__fpclassifyl(long double value) +{ + // TODO: implement me! + return FP_NORMAL; +}