A differential fuzzer for these functions has also been added. Along the way, a small correction has been done to the normal/subnormal limits of x86 long double values. Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D94109
14 lines
485 B
C++
14 lines
485 B
C++
//===-- Unittests for nextafterf ------------------------------------------===//
|
|
//
|
|
// 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
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#include "NextAfterTest.h"
|
|
|
|
#include "src/math/nextafterf.h"
|
|
|
|
LIST_NEXTAFTER_TESTS(float, __llvm_libc::nextafterf)
|