Nick
2024-03-28 19:18:30 UTC
Is the floating point broken in the DRI (Alcyon Corp?) C compiler in
CP/M-68k? I can compile and link a simple test program against libf.a
and clib, but it prints garbage where I would expect a formatted
floating point number.
main()
{
float afloat;
afloat= 3.142;
printf("%6.3f\n", afloat);
printf("Did it float?\n");
}
C>fptest
0.;42
Did it float?
On a positive note, Pascal MT68's floating point does work.
CP/M-68k? I can compile and link a simple test program against libf.a
and clib, but it prints garbage where I would expect a formatted
floating point number.
main()
{
float afloat;
afloat= 3.142;
printf("%6.3f\n", afloat);
printf("Did it float?\n");
}
C>fptest
0.;42
Did it float?
On a positive note, Pascal MT68's floating point does work.
--
Nick
Nick