[#13] Add libm integration into Posix Plugin
Libm integration was contributed by a user who wishes to remain anonymous.
C code added to ydbposix.c
, M-C interface in ydbposix.xc.in
, and M
code wrappers in _ydbposix.m
.
Tests added to _ydbposixtest.m
, but these tests actually use a
reference file. This is libmath.ref
. needs_copyright.sh
omits this
file from copyright check.
CMakeLists.txt
add -lm
to the C compiler for the Posix plugin, and
configures libmath.ref
for use in testing.