NFC intended in the implementaton. Only mechanical changes to fit the LLVM libc implementation standard have been done. Math testing infrastructure has been added. This infrastructure compares the results produced by the libc with the high precision results from MPFR. Tests making use of this infrastructure have been added for cosf, sinf and sincosf. Reviewers: abrachet, phosek Differential Revision: https://reviews.llvm.org/D76825
13 lines
367 B
Scilab
13 lines
367 B
Scilab
!! single.tst - Random test case specification for SP functions
|
|
!!
|
|
!! Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
!! See https://llvm.org/LICENSE.txt for license information.
|
|
!! SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
|
|
test tanf 10000
|
|
test expf 10000
|
|
test exp2f 10000
|
|
test logf 10000
|
|
test log2f 10000
|
|
test powf 10000
|