Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Arc cosine
<?php acos(float $num): float
<?php })->throws(ExpectationFailedException::class, 'oh no!');



test('not failures', function () {

    expect(acos(1.5))->not->toBeNan();

})->throws(ExpectationFailedException::class);