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