From e2fe959fe2a450f74271d4d3c4b0d9456f889125 Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Tue, 13 Nov 2012 00:49:55 +0100 Subject: math: raise flags in logl.c on <= 0 arguments --- src/math/log2l.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/math/log2l.c') diff --git a/src/math/log2l.c b/src/math/log2l.c index 76a7aacd..345b395d 100644 --- a/src/math/log2l.c +++ b/src/math/log2l.c @@ -108,8 +108,7 @@ static const long double S[4] = { long double log2l(long double x) { - long double z; - long double y; + long double y, z; int e; if (isnan(x)) -- cgit v1.2.1