• 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: Using math.h
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using math.h


  • Subject: Re: Using math.h
  • From: Andy Lee <email@hidden>
  • Date: Wed, 14 Mar 2007 10:38:53 -0400

On Mar 14, 2007, at 10:22 AM, Nelson Santos wrote:
double a = 10;
double b = 3;
double c = pow(a, b);

But when compiling my app, I get a compile error "called object 'pow' is not a function".

I've added #import <math.h> to the top of my .m file. But still nothing.

What you did works for me. I don't suppose you're declaring something else called "pow" anywhere in your code?


--Andy


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • [SOLVED]Re: Using math.h
      • From: Nelson Santos <email@hidden>
References: 
 >Using math.h (From: Nelson Santos <email@hidden>)

  • Prev by Date: Re: Using math.h
  • Next by Date: Re: Using math.h
  • Previous by thread: Re: Using math.h
  • Next by thread: [SOLVED]Re: Using math.h
  • Index(es):
    • Date
    • Thread