Skip to content

Commit 6cbea48

Browse files
authored
[libc] Define HUGE_VALF in math.h (#98522)
This is analogous to `HUGE_VAL`.
1 parent cfeb8f2 commit 6cbea48

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libc/include/llvm-libc-macros/math-macros.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
#define MATH_ERREXCEPT 2
2828

2929
#define HUGE_VAL __builtin_huge_val()
30+
#define HUGE_VALF __builtin_huge_valf()
3031
#define INFINITY __builtin_inf()
3132
#define NAN __builtin_nanf("")
3233

0 commit comments

Comments
 (0)