Here is a quick test program I wrote for playing around with musl's (or any libc/libm's) math functions. It's an RPN calculator that accepts input in argv[1] or stdin. It's by no means mature, but it's very simple and usable for the purpose for which it was written (testing), and the concepts in it could easily be extended to build a nice infix-notation direct-libm-based floating point expression evaluator library or utility. Example usage: $ ./ccalc '-1 csqrt 1 atan 2 * 3 / * cexp p' 0.866025403784438596588 + i*0.5 Rich