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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to