def to49(theVal):
    """Converts a double to Rep code 49 0x31, 16bit floating point representation.
    Value +153 is 0100 1100 1000 1000 or 0x4C88.
    Value -153 is 1011 0011 1000 1000 or 0xB388.
    """
    assert 0
