Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/numpy/numpy
/ get_rtol
Function
get_rtol
numpy/linalg/tests/test_linalg.py:85–90 ·
view source on GitHub ↗
(dtype)
Source
from the content-addressed store, hash-verified
83
84
85
def
get_rtol(dtype):
86
# Choose a safe rtol
87
if
dtype in (single, csingle):
88
return
1e-5
89
else
:
90
return
1e-11
91
92
93
# 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
Used in the wild
real call sites across dependent graphs
searching dependent graphs…