1--TEST--
2Test return type and value for expected input asinh()
3--INI--
4precision = 14
5--FILE--
6<?php
7/*
8 * Function is implemented in ext/standard/math.c
9*/
10
11$file_path = __DIR__;
12require($file_path."/allowed_rounding_error.inc");
13
14echo "asinh  0.52109530549375= ";
15var_dump(asinh(0.52109530549375));
16if (allowed_rounding_error(asinh(0.52109530549375), 0.5))
17{
18    echo "Pass\n";
19}
20else {
21    echo "Fail\n";
22}
23
24echo "asinh 10.01787492741= ";
25var_dump(asinh(10.01787492741));
26if (allowed_rounding_error(asinh(10.01787492741), 3.0))
27{
28    echo "Pass\n";
29}
30else {
31    echo "Fail\n";
32}
33
34?>
35--EXPECTF--
36asinh  0.52109530549375= float(%f)
37Pass
38asinh 10.01787492741= float(%f)
39Pass
40