class TestHalf:
Undocumented
Method | setup |
Undocumented |
Method | test_half_array_interface |
Test that half is compatible with __array_interface__ |
Method | test_half_coercion |
Test that half gets coerced properly with the other types |
Method | test_half_conversion_denormal_round_even |
Undocumented |
Method | test_half_conversion_from_string |
Undocumented |
Method | test_half_conversion_rounding |
Undocumented |
Method | test_half_conversion_to_string |
Undocumented |
Method | test_half_conversions |
Checks that all 16-bit values survive conversion to/from 32-bit and 64-bit float |
Method | test_half_correctness |
Take every finite float16, and check the casting functions with a manual conversion. |
Method | test_half_fpe |
Undocumented |
Method | test_half_funcs |
Test the various ArrFuncs |
Method | test_half_ordering |
Make sure comparisons are working right |
Method | test_half_rounding |
Checks that rounding when converting to half is correct |
Method | test_half_ufuncs |
Test the various ufuncs |
Method | test_half_values |
Confirms a small number of known half values |
Method | test_nans_infs |
Undocumented |
Method | test_spacing_nextafter |
Test np.spacing and np.nextafter |
Instance Variable | all_f16 |
Undocumented |
Instance Variable | all_f32 |
Undocumented |
Instance Variable | all_f64 |
Undocumented |
Instance Variable | finite_f16 |
Undocumented |
Instance Variable | finite_f32 |
Undocumented |
Instance Variable | finite_f64 |
Undocumented |
Instance Variable | nonan_f16 |
Undocumented |
Instance Variable | nonan_f32 |
Undocumented |
Instance Variable | nonan_f64 |
Undocumented |
Undocumented
Undocumented
Undocumented
Undocumented