Re: variable weirdness
Re: variable weirdness
- Subject: Re: variable weirdness
- From: Cameron Hayne <email@hidden>
- Date: Sat, 11 Feb 2006 01:55:02 -0500
On 11-Feb-06, at 12:33 AM, Erik Grumstrup wrote:
ok...a bit of abbreviated code, though I am unsure it will reveal
anything...
main()
{
double my_a[13];
my_a[1]=109789.99;
etc..
spec_calc_pred(my_a[1],my_a[2],.....);
}
**************************************************
void spec_calc_pred(double a, double b.....)
Things to check:
- is the function 'spec_calc_pred' declared before the point it is
called?
- are you putting more than 13 values into 'my_a' ?
- what happens if you comment out the section that sets 'my_a' and
change the function call to use explicit floating point values
(spec_calc_pred(109789.99,.....);)?
--
Cameron Hayne
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden