[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [Bug 135589] isinf declaration problem in knumber.cpp
From: "Aaron J.Seigo" <aseigo () kde ! org>
Date: 2007-06-28 17:18:17
Message-ID: 20070628171817.7917.qmail () ktown ! kde ! org
[Download RAW message or body]
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
http://bugs.kde.org/show_bug.cgi?id=135589
aseigo kde org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
------- Additional Comments From aseigo kde org 2007-06-28 19:18 -------
SVN commit 681344 by aseigo:
build on systems that don't have isinf, such as various solaris versions
based on a patch by Jens Hatlak
BUGS:135589
M +11 -0 knumber.cpp
--- trunk/KDE/kdeutils/kcalc/knumber/knumber.cpp #681343:681344
@ -45,6 +45,17 @
bool KNumber::_fraction_input = false;
bool KNumber::_splitoffinteger_output = false;
+#ifndef HAVE_FUNC_ISINF
+
+#ifdef HAVE_IEEEEFP_H
+#include <ieeefp.h>
+#else
+#include <math.h>
+#endif
+
+#define isinf(x) !finite(x) && x == x
+#endif
+
KNumber::KNumber(qint32 num)
{
_num = new _knuminteger(num);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic