Skip to content

Commit

Permalink
Fix mantissa width for fp64 (#4606)
Browse files Browse the repository at this point in the history
  • Loading branch information
int3 committed Aug 29, 2024
1 parent a029585 commit 23c744b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/triton/language/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ def __init__(self, name):
self.primitive_bitwidth = 32
self.exponent_bias = 127
elif name == 'fp64':
self.fp_mantissa_width = 53
self.fp_mantissa_width = 52
self.primitive_bitwidth = 64
self.exponent_bias = 1023
else:
Expand Down

0 comments on commit 23c744b

Please sign in to comment.