nitlanguage
/
nit.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
java: intro services for JNI local reference frame
[nit.git]
/
c_src
/
math._ffi.c
1
/*
2
Extern implementation of Nit module math
3
*/
4
#include <stdlib.h>
5
#include <stdio.h>
6
#include
"math._ffi.h"
7
8
int
math___Int_sqrt___impl
(
int
recv
)
9
{
10
#line 29
"lib/standard/math.nit"
11
12
return
sqrt
(
recv
); }
13
14
double
math___Float_abs___impl
(
double
recv
)
15
{
16
#line 40
"lib/standard/math.nit"
17
18
return
fabs
(
recv
); }