File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
libc/src/__support/FPUtil Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -59,27 +59,27 @@ struct BFloat16 {
59
59
return cpp::bit_cast<float >(x_bits);
60
60
}
61
61
62
- LIBC_INLINE constexpr bool operator ==(BFloat16 other) const {
62
+ LIBC_INLINE bool operator ==(BFloat16 other) const {
63
63
return fputil::equals (*this , other);
64
64
}
65
65
66
- LIBC_INLINE constexpr bool operator !=(BFloat16 other) const {
66
+ LIBC_INLINE bool operator !=(BFloat16 other) const {
67
67
return !fputil::equals (*this , other);
68
68
}
69
69
70
- LIBC_INLINE constexpr bool operator <(BFloat16 other) const {
70
+ LIBC_INLINE bool operator <(BFloat16 other) const {
71
71
return fputil::less_than (*this , other);
72
72
}
73
73
74
- LIBC_INLINE constexpr bool operator <=(BFloat16 other) const {
74
+ LIBC_INLINE bool operator <=(BFloat16 other) const {
75
75
return fputil::less_than_or_equals (*this , other);
76
76
}
77
77
78
- LIBC_INLINE constexpr bool operator >(BFloat16 other) const {
78
+ LIBC_INLINE bool operator >(BFloat16 other) const {
79
79
return fputil::greater_than (*this , other);
80
80
}
81
81
82
- LIBC_INLINE constexpr bool operator >=(BFloat16 other) const {
82
+ LIBC_INLINE bool operator >=(BFloat16 other) const {
83
83
return fputil::greater_than_or_equals (*this , other);
84
84
}
85
85
}; // struct BFloat16
You can’t perform that action at this time.
0 commit comments