repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[ARM] Selection for MVE VMOVN
[llvm-complete.git]
/
examples
/
OCaml-Kaleidoscope
/
Chapter6
/
bindings.c
blob
90faed15813d2c5911d493137a330449d8272212
1
#include <stdio.h>
2
3
/* putchard - putchar that takes a double and returns 0. */
4
extern
double
putchard
(
double
X
) {
5
putchar
((
char
)
X
);
6
return
0
;
7
}
8
9
/* printd - printf that takes a double prints it as "%f\n", returning 0. */
10
extern
double
printd
(
double
X
) {
11
printf
(
"%f
\n
"
,
X
);
12
return
0
;
13
}