Skip to content

Commit

Permalink
Lint fix (added documentation for a newly added parameter).
Browse files Browse the repository at this point in the history
  • Loading branch information
dhermes committed Mar 19, 2018
1 parent 672e12c commit caa9b41
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/functional/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,9 @@ def ulps_away(value1, value2, num_bits=1, eps=0.5 ** 40):
value2 (float): The second value that being compared.
num_bits (Optional[int]): The number of bits allowed to differ.
Defaults to ``1``.
eps (Optional[float]): The "zero threshold" to use when one of
``value1`` / ``value2`` is zero, but the other is not. Will
only be used on 32-bit Linux.
Returns:
bool: Predicate indicating if the values agree to ``n`` bits.
Expand Down

0 comments on commit caa9b41

Please sign in to comment.