22 Commits

Author SHA1 Message Date
Ashwin Naren
86e2eb0648 update test_float to 3.12.8 2025-01-19 20:05:34 -08:00
044f66fba3 copy from cpython v3.12.7 2024-12-05 15:29:35 +09:00
Ankit Goel
8066f36a4e Fix copysign behavior for NaNs (#5396) 2024-09-11 15:19:21 +09:00
Dan Näsman
2335ca0f72 Add proper underscore handling to float and complex types. (#5356) 2024-07-28 12:11:34 +09:00
Andrey Maltsev
77d9c8dcf0 Update test_float.py from Cpython v3.11.2 2023-04-02 14:51:38 +00:00
yt2b
8cb426120b Remove the decorator 2023-01-22 14:44:14 +09:00
yt2b
e4102aae8d Remove the decorator 2023-01-15 21:42:25 +09:00
yt2b
8828fd17a0 Alternate float format doesn't work correctly. (#4446) 2023-01-14 16:48:03 +09:00
joohongpark
abb994d410 Fix class method 2022-10-16 11:59:05 +09:00
Gilteun Choi
13acb1ce6e Precision bug fix when FormatType is None (#3975) 2022-08-04 22:34:31 +09:00
Gyubong Lee
06056908c9 Fixes nan 2022-07-25 18:07:10 +09:00
Jeong Yunwon
3d27f163e4 adjust failing markers for test_{builtin,decimal,float,range} 2022-07-18 04:38:26 +09:00
CPython developers
33690be35b Update tests from CPython 3.10.5 2022-07-18 04:07:35 +09:00
Kangzhi Shi
3e6e348a67 impl number protocol float 2022-05-30 07:36:08 +09:00
Noa
588247c4a0 Unskip tests 2021-10-30 19:42:35 -05:00
Codemonk-adi
a07d3432c1 Redid the commit cause I messed up 2021-09-21 21:58:51 +05:30
Padraic Fanning
95b514b85d Implement __floor__ for float type
Co-authored-by: Tetramad <cbwjd777@gmail.com>
2021-08-11 14:30:10 +09:00
Padraic Fanning
fae7b0e8ed Implement __ceil__ for float type
Co-authored-by: Tetramad <cbwjd777@gmail.com>
2021-08-11 14:30:10 +09:00
Padraic Fanning
9f497fb65a Add test_float from CPython 3.9.1
Co-authored-by: Tetramad <cbwjd777@gmail.com>
2021-08-11 14:30:10 +09:00
Noah
1fff67db2c Correct float rounding algorithm 2021-03-25 08:06:58 -05:00
Padraic Fanning
fb3ec9758e Mark failed/errored tests 2021-02-20 20:37:25 -05:00
Padraic Fanning
290f464494 Add test_float from CPython 3.8.7 2021-02-20 20:37:24 -05:00