Files
tinygrad/tinygrad
zku 2d702ca073 If feasible, do not truncate float64 down to float32 in cstyle renderer (#3420)
* do not truncate float64 precision

* use l suffix to try avoid overload confusion

* long line, ruff bloats the function otherwise

* fmt

* remove long double suffix (l), it's sufficient to have the float32 (f) suffix to avoid function overload ambigouity; add test showcasing rtol=1e-12 precision increase, the test fails without the renderer changes

* use more reasonable test values, same as test_int_to_float_unary_func

* disable test for CUDACPU, does not support half and segfaults on some operations per dtypes_alu test

* disable test for HIP, renderer does not support f64 precision

* do not use noqa E501, break up condition
2024-02-16 10:08:59 +01:00
..
2024-02-15 16:55:39 +01:00
2024-02-12 11:53:55 +01:00
2024-02-15 15:03:49 +01:00
2024-02-14 10:13:18 -05:00
2024-01-14 20:39:52 -08:00
2024-01-24 11:49:53 -08:00