Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,12 @@
|
|||
-INCLUDE 'ffi.sno'
|
||||
|
||||
ffi_m = FFI_DLOPEN('/usr/lib/x86_64-linux-gnu/libm.so')
|
||||
ffi_m_hypot = FFI_DLSYM(ffi_m, 'hypot')
|
||||
DEFINE_FFI('hypot(double,double)double', ffi_m_hypot)
|
||||
|
||||
OUTPUT = hypot(1,2)
|
||||
OUTPUT = hypot(2,3)
|
||||
OUTPUT = hypot(3,4)
|
||||
OUTPUT = hypot(4,5)
|
||||
|
||||
END
|
||||
Loading…
Add table
Add a link
Reference in a new issue