Skip to content

[#13] Add libm integration into Posix Plugin

Sam Habiel requested to merge shabiel/YDBPosix:ydbposix13-libm into master

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.

Merge request reports