Call a function in a shared library: Difference between revisions
Content added Content deleted
(Added Maple implementation) |
|||
Line 302: | Line 302: | ||
} |
} |
||
}</lang> |
}</lang> |
||
=={{header|Maple}}== |
|||
<lang Maple>> cfloor := define_external( floor, s::float[8], RETURN::float[8], LIB = "libm.so" ): |
|||
> cfloor( 2.3 ); |
|||
2.</lang> |
|||
=={{header|Mathematica}}== |
=={{header|Mathematica}}== |