remove calls to gint-backed standard functions

This commit is contained in:
Lephenixnoir 2021-06-07 19:08:17 +02:00
parent 118eb789ee
commit 41abbba52a
Signed by: Lephenixnoir
GPG Key ID: 1BBA026E13FC0495
2 changed files with 5 additions and 4 deletions

View File

@ -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 */

View File

@ -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();