Skip to content

Commit

Permalink
No need to check for OS to add library extensions.
Browse files Browse the repository at this point in the history
  • Loading branch information
ViralBShah committed May 15, 2010
1 parent d0e35f9 commit 720fbf8
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions gen_mathfunctions.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
echo "# This file is autogenerated using gen_mathfunctions.sh"

if [ `uname` == "Linux" ]; then
echo "libm = dlopen(\"libm.so.6\")"
fi

if [ `uname` == "Darwin" ]; then
echo "libm = dlopen(\"libm.dylib\")"
fi

echo "libm = dlopen(\"libm\")"
echo

for func in sin cos tan sinh cosh tanh asin acos atan log log2 log10 log1p logb exp exp2 expm1 erf erfc sqrt cbrt ceil floor nearbyint round rint trunc; do
Expand Down

0 comments on commit 720fbf8

Please sign in to comment.