URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.18.0/] [libgloss/] [testsuite/] [libgloss.all/] [float.c] - Rev 258
Go to most recent revision | Compare with Previous | Blame | View Log
#include <stdio.h> main() { float a,b,c; a = 0.11; b = 3.12; c = a+b; printf ("Print float, result with 'f' = %f\n", c); printf ("Print float, result with 'e' = %e\n", c); printf ("Print float, result with 'E' = %E\n", c); printf ("Print float, result with 'g' = %g\n", c); printf ("Print float, result with 'G' = %G\n", c); pass ("float"); fflush (stdout); }
Go to most recent revision | Compare with Previous | Blame | View Log