Module test_float
source code
Test_float
Unit tests for the functions of the 'float' module.
|
|
make_dict_by_id(elements)
Convert the list into a dictionary of pointer:value pairs. |
source code
|
|
|
winnow_dist_to_list_by_id(dict,
exclude)
Generate a list of values in dict excluding the values given. |
source code
|
|
|
FLOAT_EPSILON = 4.94065645841e-324
|
|
NEG_FLOAT_EPSILON = -4.94065645841e-324
|
|
FLOAT_NORMAL = 1000000.0
|
|
NEG_FLOAT_NORMAL = -1000000.0
|
|
ZERO = 0.0
|
|
NEG_ZERO = -0.0
|
|
__package__ = ' test_suite.unit_tests._lib '
|
Imports:
TestCase,
copy,
CLASS_POS_DENORMAL,
CLASS_POS_INF,
CLASS_POS_NORMAL,
CLASS_POS_ZERO,
CLASS_NEG_DENORMAL,
CLASS_NEG_INF,
CLASS_NEG_NORMAL,
CLASS_NEG_ZERO,
CLASS_QUIET_NAN,
getFloatClass,
isPositive,
isZero,
nan,
neg_inf,
packBytesAsPyFloat,
pos_inf