remove calls to gint-backed standard functions
This commit is contained in:
parent
118eb789ee
commit
41abbba52a
|
@ -5,7 +5,6 @@
|
|||
#include <gint/gint.h>
|
||||
#include <gint/drivers/keydev.h>
|
||||
#include <gint/hardware.h>
|
||||
#include <gint/kprint.h>
|
||||
#include <gint/usb.h>
|
||||
#include <gint/usb-ff-bulk.h>
|
||||
|
||||
|
@ -24,6 +23,8 @@
|
|||
|
||||
#include <libprof.h>
|
||||
|
||||
#include <fxlibc/printf.h>
|
||||
|
||||
/* TODO:
|
||||
* Interrupt controller state?
|
||||
* Clock frequencies
|
||||
|
@ -188,7 +189,7 @@ int main(GUNUSED int isappli, GUNUSED int optnum)
|
|||
prof_init();
|
||||
|
||||
/* Enable floating-point formatters */
|
||||
kprint_enable_fp();
|
||||
__printf_enable_fp();
|
||||
|
||||
#ifdef FX9860G
|
||||
/* Use the Unicode font uf5x7 on fx-9860G */
|
||||
|
|
|
@ -56,8 +56,8 @@ void gintctl_libs_openlibm(void)
|
|||
};
|
||||
plot(&plotspec);
|
||||
|
||||
row_print(8, 1, "exp(1.0) = %.8j", (int)(1e8*exp(1.0)));
|
||||
row_print(9, 1, "atan(1.0)*4 = %.8j", (int)(1e8*4*atan(1.0)));
|
||||
row_print(8, 1, "exp(1.0) = %g", exp(1.0));
|
||||
row_print(9, 1, "atan(1.0)*4 = %g", atan(1.0)*4);
|
||||
#endif
|
||||
|
||||
dupdate();
|
||||
|
|
Loading…
Reference in New Issue