demo/stest: print ident string
This commit is contained in:
parent
1e129bf61e
commit
74df3d9970
@ -8,6 +8,9 @@
|
|||||||
|
|
||||||
#ifndef DISPLAY
|
#ifndef DISPLAY
|
||||||
#define DISPLAY(x) printf(x)
|
#define DISPLAY(x) printf(x)
|
||||||
|
#define DISPLAY_P(...) printf(__VA_ARGS__)
|
||||||
|
#else
|
||||||
|
#define DISPLAY_P(...) (void)0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
@ -33,6 +36,8 @@ int main(void)
|
|||||||
modetxt_gotoxy(0,0);
|
modetxt_gotoxy(0,0);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
DISPLAY_P("TFM Ident string:\n%s\n\n", fp_ident());
|
||||||
|
|
||||||
/* test multiplication */
|
/* test multiplication */
|
||||||
fp_read_radix(&a, "3453534534535345345341230891273", 10);
|
fp_read_radix(&a, "3453534534535345345341230891273", 10);
|
||||||
fp_read_radix(&b, "2394873294871238934718923" , 10);
|
fp_read_radix(&b, "2394873294871238934718923" , 10);
|
||||||
@ -140,7 +145,7 @@ int main(void)
|
|||||||
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* $Source$ */
|
/* $Source$ */
|
||||||
|
Loading…
Reference in New Issue
Block a user