Seeking Math Framework

  • I'm putting together a Cocoa App to run on G3 and G4. Where do I look
    for math functions? I'm looking for double precision math functions
    with trig. The vectorized functions are out since I want to run this
    on G3. On top of that I'm not sure how to bring in something like
    math.h from /usr/include because OSX reads that as
    (invis)/Private/math.h.

    I'm looking for the frameworks/headers to look in for the calls, how
    to add them to a Project builder cocoa project, and the libraries
    that may be needed as well (and how to add them.)

    Thank you,
    -Andrew
    Apolo prod.

    _________________________________________________________
    Do You Yahoo!?
    Get your free @yahoo.com address at http://mail.yahoo.com
  • On Thursday, April 12, 2001, at 05:08 AM, G. 'Andrew' Tapolow wrote:

    > I'm putting together a Cocoa App to run on G3 and G4. Where do I look
    > for math functions? I'm looking for double precision math functions
    > with trig. The vectorized functions are out since I want to run this on
    > G3. On top of that I'm not sure how to bring in something like math.h
    > from /usr/include because OSX reads that as (invis)/Private/math.h.
    >
    > I'm looking for the frameworks/headers to look in for the calls, how to
    > add them to a Project builder cocoa project, and the libraries that may
    > be needed as well (and how to add them.)
    >
    > Thank you,
    > -Andrew
    > Apolo prod.

    Just include <math.h> and you are done. You should link your executable
    against System.framework, but this is done for you in most cases.
    To actually see the functions, open /usr/include/math.h in PB (you have
    to type the path).

    Raphael
previous month april 2001 next month
MTWTFSS
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30            
Go to today