Re: C_FLOATs and 4.0
Jeremy Cowgar wrote:
>
> irv mullins wrote:
> >
> >
> > Has anyone figured out how to properly pass a floating point value to C
> > when running 4.0?
>
> I was not aware the method of passing it in 3.x was wrong? I pass floats and
> doubles to a few C libs w/no problem using C_FLOAT. Is there a problem with
> it?
>
Nothing wrong with 3.1, however, with 4.0 the same code, unchanged, does not
work
properly.
When calling a C function which requires a floating point value, C no longer
sees
the value passed correctly (unless the value is zero)
I'll try to write a small C program to print out what it is getting.
|
Not Categorized, Please Help
|
|