;;;; "mathh.egg -*- Scheme -*- ;;;; Kon Lovett, Feb '22 ;;;; Kon Lovett, Jul '20 ;;;; Kon Lovett, Jul '18 ((synopsis "ISO C math functions and constants") (version "4.4.0") (category math) (author "Kon Lovett and [[john cowan]]") (license "Public Domain") (test-dependencies test) ;* still needed? * ;linux ;_GNU_SOURCE instead? ;CSC_OPTIONS='-C -D_ISOC99_SOURCE' chicken-install -test mathh (components (extension mathh-consts (types-file) (scheme-include mathh-constants) (csc-options ;,@(cond-expand (linux '("-C" "-D_ISOC99_SOURCE")) (else '())) ;sigh "-O4" "-d1" "-strict-types") ) (extension misc-math-utils (types-file) (csc-options "-O4" "-d1" "-strict-types" "-no-procedure-checks") ) (extension mathh (types-file) ;-strict-types saves ~2k off macos .o (csc-options "-O4" "-d1" "-strict-types" "-no-procedure-checks") ) ) )