• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
isnan
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

isnan


  • Subject: isnan
  • From: Wesley Smith <email@hidden>
  • Date: Sun, 22 May 2005 10:38:00 -0500

Hi,

Ok,

So the following works:

in a file called main.cpp

using namespace std;
 #include <math.h>
int main()
{
  float x=sqrt(-1);
  return isnan(x);
}

but when I include cmath, it doesn't.  It seems that cmath is
overidding the math.h isnan macro and not redifining it.  Has anyone
else had this problem?  Is there a way to fix this?  This is with gcc
3.3.

thanks,
wes
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: isnan
      • From: Cameron Hayne <email@hidden>
  • Prev by Date: conversion from numeric to symbolic addresses using atos on different computers
  • Next by Date: Disabling zero-link
  • Previous by thread: conversion from numeric to symbolic addresses using atos on different computers
  • Next by thread: Re: isnan
  • Index(es):
    • Date
    • Thread