[Andreas Weber]
> Dear Maintainer, following code debug1.nxc:

No idea about the nxt-firmware status, but just for fun and to show
support, I made a C edition:

% cat > x.c <<EOF
#include <stdio.h>
int main(int argc, char *argv[])
{
   float a = -12.34;
   printf("%f\n", a);

   char b = a;
   printf("%i\n", b);
   return 0;
}
EOF
% gcc x.c 
% ./a.out 
-12.340000
-12
%

-- 
Happy hacking
Petter Reinholdtsen

Reply via email to