Skip to content

Commit 2d95dee

Browse files
authored
[libc] math fuzzing MPFR include statement (#102358)
Updated the include statement for MPFR
1 parent 6a3604e commit 2d95dee

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

libc/fuzzing/math/cos_fuzz.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
//===----------------------------------------------------------------------===//
1212

1313
#include "src/math/cos.h"
14+
#include "utils/MPFRWrapper/mpfr_inc.h"
1415
#include <math.h>
15-
#include <mpfr.h>
1616

1717
extern "C" int LLVMFuzzerTestOneInput(const double x) {
1818
// remove NaN and inf as preconditions

libc/fuzzing/math/sin_fuzz.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
//===----------------------------------------------------------------------===//
1212

1313
#include "src/math/sin.h"
14+
#include "utils/MPFRWrapper/mpfr_inc.h"
1415
#include <math.h>
15-
#include <mpfr.h>
1616

1717
extern "C" int LLVMFuzzerTestOneInput(const double x) {
1818
// remove NaN and inf as preconditions

libc/fuzzing/math/tan_fuzz.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
//===----------------------------------------------------------------------===//
1212

1313
#include "src/math/tan.h"
14+
#include "utils/MPFRWrapper/mpfr_inc.h"
1415
#include <math.h>
15-
#include <mpfr.h>
1616

1717
extern "C" int LLVMFuzzerTestOneInput(const double x) {
1818
// remove NaN and inf as preconditions

0 commit comments

Comments
 (0)