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