8static double eval_abs (
double a) {
return (a < 0) ? -a : a; }
9static double eval_min (
double a,
double b) {
return (a < b) ? a : b; }
10static double eval_max (
double a,
double b) {
return (a > b) ? a : b; }
11static double eval_sqrt (
double a) {
return std::sqrt(a); }
12static double eval_pow (
double a,
double b) {
return std::pow(a,b); }
13static double eval_sin (
double a) {
return std::sin(a); }
14static double eval_cos (
double a) {
return std::cos(a); }
15static double eval_tan (
double a) {
return std::tan(a); }
16static double eval_asin (
double a) {
return std::asin(a); }
17static double eval_acos (
double a) {
return std::acos(a); }
18static double eval_atan (
double a) {
return std::atan(a); }
19static double eval_atan2(
double a,
double b) {
return std::atan2(a,b); }
20static double eval_sinh (
double a) {
return std::sinh(a); }
21static double eval_cosh (
double a) {
return std::cosh(a); }
22static double eval_tanh (
double a) {
return std::tanh(a); }
23static double eval_exp (
double a) {
return std::exp(a); }
24static double eval_log (
double a) {
return std::log(a); }
25static double eval_log10(
double a) {
return std::log10(a); }