Results 1 to 3 of 3
  1. #1

    Member Since
    Sep 15, 2009
    pow in objective-c
    I'm new here, and I'm in the middle of learning objective-c.
    hope this is the right forum....

    does anyone know how to call to the pow function? (like 2^7 , if I remember right, in c it was pow(x,y))


  2. #2

    Member Since
    May 02, 2009
    MBP 2.33 4GB: MacPro 8 Core 2.8, 16GB: MacMini 2.26 4GB: MacMin 2.53 4GB: iPhone3GS 32GB
    Hi, welcome to the forums.

    I don't believe there is an equivalent function in Objective-C. However, there is nothing to prevent you from calling the C function from your Objective-C code as you have access to all the standard C routines/libraries etc.

  3. #3

    Member Since
    Sep 15, 2009
    thanks, I didn't know that.
    problem solved!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Objective-C help
    By bikka in forum macOS - Development and Darwin
    Replies: 22
    Last Post: 05-27-2014, 02:56 PM
  2. Need help in objective C
    By prateek.chaubey in forum iOS Development
    Replies: 3
    Last Post: 09-23-2011, 09:12 PM
  3. Is Objective For me?
    By Estanislao in forum macOS - Apps and Games
    Replies: 1
    Last Post: 05-26-2009, 04:13 AM
  4. CPU upgrades for Pow er MAc G3
    By nickskates4lyfe in forum Apple Desktops
    Replies: 3
    Last Post: 07-24-2007, 05:55 PM
  5. Objective-C
    By AstralZenith in forum macOS - Development and Darwin
    Replies: 13
    Last Post: 03-09-2003, 10:15 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts