From 8492f115890d56c98c1da24b9fdf26bb1b714c05 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Thu, 4 Jan 2024 20:36:02 -0300 Subject: Setup stub unit test infrastructure --- src/math/__expo2f.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/math/__expo2f.c') diff --git a/src/math/__expo2f.c b/src/math/__expo2f.c index 538eb09c..937ee404 100644 --- a/src/math/__expo2f.c +++ b/src/math/__expo2f.c @@ -15,3 +15,11 @@ float __expo2f(float x, float sign) /* in directed rounding correct sign before rounding or overflow is important */ return expf(x - kln2) * (sign * scale) * scale; } + + +#ifdef TEST +int +main(void) { + return 0; +} +#endif -- cgit v1.2.3