Skip to content

Commit 146e90e

Browse files
committed
Doc fixes
1 parent b1c61c8 commit 146e90e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/gfloat/types.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def bits(self) -> int:
146146
@property
147147
def eps(self) -> float:
148148
"""
149-
The difference between 1.0 and the next smallest representable float
149+
The difference between 1.0 and the smallest representable float
150150
larger than 1.0. For example, for 64-bit binary floats in the IEEE-754
151151
standard, ``eps = 2**-52``, approximately 2.22e-16.
152152
"""
@@ -156,7 +156,7 @@ def eps(self) -> float:
156156
@property
157157
def epsneg(self) -> float:
158158
"""
159-
The difference between 1.0 and the next smallest representable float
159+
The difference between 1.0 and the largest representable float
160160
less than 1.0. For example, for 64-bit binary floats in the IEEE-754
161161
standard, ``epsneg = 2**-53``, approximately 1.11e-16.
162162
"""

0 commit comments

Comments
 (0)