1--TEST--
2Test return type and value for expected input acosh()
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 "acosh  1.1276259652064= ";
15var_dump(acosh(1.1276259652064));
16if (allowed_rounding_error(acosh(1.1276259652064), 0.5))
17{
18    echo "Pass\n";
19}
20else {
21    echo "Fail\n";
22}
23
24echo "acosh 10.067661995778= ";
25var_dump(acosh(10.067661995778));
26if (allowed_rounding_error(acosh(10.067661995778), 3.0))
27{
28    echo "Pass\n";
29}
30else {
31    echo "Fail\n";
32}
33
34
35?>
36--EXPECTF--
37acosh  1.1276259652064= float(%f)
38Pass
39acosh 10.067661995778= float(%f)
40Pass
41