Back to index

python3.2  3.2.2
Public Member Functions
test.test_float.IEEEFormatTestCase Class Reference

List of all members.

Public Member Functions

def test_double_specials_do_unpack
def test_float_specials_do_unpack

Detailed Description

Definition at line 500 of file

Member Function Documentation

Definition at line 503 of file

00504     def test_double_specials_do_unpack(self):
00505         for fmt, data in [('>d', BE_DOUBLE_INF),
00506                           ('>d', BE_DOUBLE_NAN),
00507                           ('<d', LE_DOUBLE_INF),
00508                           ('<d', LE_DOUBLE_NAN)]:
00509             struct.unpack(fmt, data)

Definition at line 511 of file

00512     def test_float_specials_do_unpack(self):
00513         for fmt, data in [('>f', BE_FLOAT_INF),
00514                           ('>f', BE_FLOAT_NAN),
00515                           ('<f', LE_FLOAT_INF),
00516                           ('<f', LE_FLOAT_NAN)]:
00517             struct.unpack(fmt, data)

The documentation for this class was generated from the following file: