I've been trying to use the Cephes floating point lib,
(http://www.netlib.org/cephes/) but get the following
errors:
?ASlink-Warning-Undefined Global ___fs2ulong_rrx_s
referenced by module sinf
?ASlink-Warning-Undefined Global ___ulong2fs_rrx_s
referenced by module sinf
?ASlink-Warning-Undefined Global ___fs2sint_rrx_s
referenced by module sinf
?ASlink-Warning-Undefined Global ___sint2fs_rrx_s
referenced by module sinf
Sample code:
extern float z1(void);
float fun( void )
{
unsigned long i;
float f;
i=5.5 * z1();
f=i;
if (i & 1)
f += 1.0;
return f;
}
Tested with Jan. 07 snapshot, MingW, sdcc -mz80
Logged In: YES
user_id=63512
Elementary fp support has been added recently by Jesus. I
don't think they are build by default for the z80 port.
Could you have a look?
Logged In: YES
user_id=373
Fixed. The name was getting accidently mangled.