Skip to content

Commit 52cf523

Browse files
committed
half: missing OneMinusEpsilon constant
1 parent fbb93ae commit 52cf523

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/drjit-core/half.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,7 @@ template <> struct constants<half> {
215215

216216
static constexpr half Infinity = half::from_binary(0xfc00);
217217
static constexpr half NaN = half::from_binary(0xffff);
218+
static constexpr half OneMinusEpsilon = half::from_binary(0x3bff);
218219
};
219220

220221
template <> struct debug_init<half> {

0 commit comments

Comments
 (0)