Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ get_rtol
Function
get_rtol
numpy/linalg/tests/test_linalg.py:61–66 ·
view source on GitHub ↗
(dtype)
Source
from the content-addressed store, hash-verified
59
60
61
def
get_rtol(dtype):
62
# Choose a safe rtol
63
if
dtype in (single, csingle):
64
return
1e-5
65
else
:
66
return
1e-11
67
68
69
# used to categorize tests
Callers
7
do
Method · 0.85
do
Method · 0.85
do
Method · 0.85
do
Method · 0.85
test_UPLO
Method · 0.85
do
Method · 0.85
test_UPLO
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected