• 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
Re: problem with cos ( pi/2 )
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problem with cos ( pi/2 )


  • Subject: Re: problem with cos ( pi/2 )
  • From: Greg Guerin <email@hidden>
  • Date: Sat, 17 Jun 2006 09:16:09 -0700

I wrote:

>If <fp.h> is being included, I suggest a simple test:
>  if ( pi != M_PI )
>    printf( "Well, isn't that interesting." );
>  if ( pi/2.0 != M_PI_2 )
>    printf( "Approximately half as interesting." );

More ideas for simple tests.  Print the values of:

  M_PI - pi
  M_PI_2 - pi/2.0
  M_PI_2 - acos( 0.0 )
  M_PI_2 - asin( 1.0 )
  cos( acos( 0 ) )

  -- GG


 _______________________________________________
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

  • Prev by Date: Re: ZeroLink: unknown symbol '_mysql_init' <-- architecture ppc does not match cputype
  • Next by Date: Re: Egregious GUI bugs
  • Previous by thread: Re: problem with cos ( pi/2 )
  • Next by thread: Re: problem with cos ( pi/2 )
  • Index(es):
    • Date
    • Thread