apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sascha Schumann <sas...@schumann.cx>
Subject Re: apr_snprintf fails on solaris 2.6
Date Fri, 27 Apr 2001 20:54:52 GMT
On Fri, 27 Apr 2001, Ian Holsman wrote:

> Solaris 2.6 does not have a 'isinf' function

    There are various ways:

    Linux, BSD:  isinf(a)
    C99:         (a) == INFINITY
    Solaris:     (fpclass(a) == FP_PINF) || (fpclass(a) == FP_NINF)

    - Sascha                                     Experience IRCG
      http://schumann.cx/                http://schumann.cx/ircg


Mime
View raw message