FreeBASIC
0.91.0
Main Page
Data Structures
Files
File List
Globals
io_print_fp.c
Go to the documentation of this file.
1
/* print [#] function (floating point) */
2
3
#include "
fb.h
"
4
5
FBCALL
void
fb_PrintSingle
(
int
fnum,
float
val,
int
mask )
6
{
7
char
buffer
[8+1+9+1];
8
fb_PrintFixString
( fnum,
fb_hFloat2Str
( (
double
)val, buffer, 7,
FB_F2A_ADDBLANK
), mask );
9
}
10
11
FBCALL
void
fb_PrintDouble
(
int
fnum,
double
val,
int
mask )
12
{
13
char
buffer
[16+1+9+1];
14
fb_PrintFixString
( fnum,
fb_hFloat2Str
( val, buffer, 16,
FB_F2A_ADDBLANK
), mask );
15
}
rtlib
io_print_fp.c
Generated on Thu Jan 23 2014 19:40:12 for FreeBASIC by
1.8.4