Back to index

python3.2  3.2.2
Classes | Namespaces | Functions | Variables
test_float.py File Reference

Go to the source code of this file.

Classes

class  test.test_float.GeneralFloatCases
class  test.test_float.FormatFunctionsTestCase
class  test.test_float.UnknownFormatTestCase
class  test.test_float.IEEEFormatTestCase
class  test.test_float.FormatTestCase
class  test.test_float.ReprTestCase
class  test.test_float.RoundTestCase
class  test.test_float.InfNanTest
class  test.test_float.HexFloatTestCase

Namespaces

namespace  test.test_float

Functions

def test.test_float.test_main

Variables

tuple test.test_float.INF = float("inf")
tuple test.test_float.NAN = float("nan")
tuple test.test_float.have_getformat = hasattr(float, "__getformat__")
tuple test.test_float.requires_getformat
tuple test.test_float.requires_setformat
tuple test.test_float.test_dir = os.path.dirname(__file__)
tuple test.test_float.format_testfile = os.path.join(test_dir, 'formatfloat_testcases.txt')
string test.test_float.BE_DOUBLE_INF = '\x7f\xf0\x00\x00\x00\x00\x00\x00'
tuple test.test_float.LE_DOUBLE_INF = bytes(reversed(BE_DOUBLE_INF))
string test.test_float.BE_DOUBLE_NAN = '\x7f\xf8\x00\x00\x00\x00\x00\x00'
tuple test.test_float.LE_DOUBLE_NAN = bytes(reversed(BE_DOUBLE_NAN))
string test.test_float.BE_FLOAT_INF = '\x7f\x80\x00\x00'
tuple test.test_float.LE_FLOAT_INF = bytes(reversed(BE_FLOAT_INF))
string test.test_float.BE_FLOAT_NAN = '\x7f\xc0\x00\x00'
tuple test.test_float.LE_FLOAT_NAN = bytes(reversed(BE_FLOAT_NAN))
 test.test_float.fromHex = float.fromhex
 test.test_float.toHex = float.hex