[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:       Jens Hatlak <jh () junetz ! de>
Date:       2006-11-09 23:36:12
Message-ID: 20061109233612.7785.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         




------- Additional Comments From jh junetz de  2006-11-10 00:36 -------
It seems I'll have to do this myself - again...

kcalc/kcalc_core.cpp contains the following code lines:

#ifndef HAVE_FUNC_ISINF
        #ifdef HAVE_IEEEFP_H
                #include <ieeefp.h>
        #else
                #include <math.h>
        #endif

int isinf(double x) { return !finite(x) && x==x; }
#endif

This works for knumber/knumber.cpp as well. Simple copy-paste.

Attaching patch, please check in.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic