2 Test return type and value for expected input atanh()
8 * proto float atanh(float number)
9 * Function is implemented in ext/standard/math.c
12 $file_path = dirname(__FILE__);
13 require($file_path."/allowed_rounding_error.inc");
15 echo "atanh 0.46211715726001 = ";
16 var_dump(atanh(0.46211715726001));
17 if (allowed_rounding_error(atanh(0.46211715726001), 0.5))
25 echo "atanh 0.99505475368673 = ";
26 var_dump(atanh(0.99505475368673));
27 if (allowed_rounding_error(atanh(0.99505475368673), 3.0))
38 atanh 0.46211715726001 = float(%f)
40 atanh 0.99505475368673 = float(%f)