Files
tinygrad/test
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-01-30 08:58:10 -08:00
2024-01-17 11:58:08 -08:00
2023-12-01 11:34:47 -08:00
2020-12-15 23:44:08 -08:00
2023-06-25 10:38:58 -07:00
2023-12-20 14:33:21 -08:00
2024-01-26 23:36:40 -08:00
2023-02-27 06:53:18 -08:00
2024-02-15 12:37:53 +01:00
2023-12-07 17:07:05 -08:00
2024-01-15 11:31:54 -08:00
2024-01-26 23:36:40 -08:00