Can anyone explain this?
Can anyone explain this?
- Subject: Can anyone explain this?
- From: Roland Silver <email@hidden>
- Date: Fri, 12 Sep 2008 16:31:45 -0400
Can anyone explain this?
The value of the expression is apparently different from the value of
a variable assigned to that expression:
double pitch = A0Pitch * pow(2.0, ntones/
currentTonesPerOctave(voice)) ;
NSLog(@"expression value: %f", A0Pitch * pow(2.0, ntones/
currentTonesPerOctave(voice)));
2008-09-12 16:25:08.095 AttoComp[10566:813] pitch value: 28.305812
NSLog(@"variable value: %f", pitch);
2008-09-12 16:25:08.094 AttoComp[10566:813] pitch variable: nan
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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