• 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
strange atof error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

strange atof error


  • Subject: strange atof error
  • From: Benoit Ogier <email@hidden>
  • Date: Thu, 16 Feb 2006 18:40:04 +0100

Hi,

I'm working on an applications that use a framework, and i've just found a strange bug : if i use atof or strtod in my framework code, the result is always -161060380 for a "0" input, and 817883912 in other cases. With the same code in my application, the result is ok.

Any suggestion ?

I'm working on an iBook with XCode 2.2.1, and GCC4.0. All my projects are build for ppc, with "current Mac OS" sdk...

Thanks in advance


-- 
Benoît Ogier{
Carte Blanche Conseil
47, rue de Lancry
75010 Paris
Tel : +33 1 42 41 21 21
Fax : +33 1 42 41 70 40
email : email@hidden
};
-- 

 _______________________________________________
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: strange atof error
      • From: Eric Albert <email@hidden>
  • Prev by Date: Re: PPC and x86 target but build only one version
  • Next by Date: Re: PPC and x86 target but build only one version
  • Previous by thread: Re: PPC and x86 target but build only one version
  • Next by thread: Re: strange atof error
  • Index(es):
    • Date
    • Thread