Skip to content

fpx32 (Turbo Float XOR) bug #135

@cajw1

Description

@cajw1

I have some timeseries for which fpx32 is truly marvelous... until it fails:

testCaseToTriggerFpx32Failure.txt

To reproduce run:

icapp -Ft testCaseToTriggerFpx32Failure.txt -v5 -I0 -J0

Output:

65:fpxenc32 TurboFloat XOR ERROR at 17:in=ffffffc1,3f,ffffffc1,3f dec=ffffff7f,ffffff7f,ffffff7f,ffffff7f cmp=2

The test case is:
public final static int[] fpx32failsWith = new int[]{
0, 229, -3, 167, -63, 63, -63, 63, -63, 63, -37,
-63, 63, -63, 63, -63, 63, -63, 63, -63, 63, -63, 63, -63, 63, -63, 63,
-100, 100, -63, 63, -63, 63, -63, 63, -63, 63, -63, 63, -63,
66,
-3, -63,
63, -63,
63, -63,
63, -100,
-63, -63,
100, 83,
63, -63,
63, -35, -130, -63, -100, 63, 100, 147, -63, 63, -100, 100, -63, -31, -48,
59, 66, -3, -63, 63, -63, 63, -63, 66, -3, -63, 66, -66, 66, -3, -63, -59,
78, 66, -23, -116, -3, -63, 63, -55, 53, -63, 63, -63, 66, -3, -63, 63, -63, 66, -3, -4, -59, 63, -4, -59, 59, -59, 59, -59, -53, 177,
59, -277, 100, 52, -59, 59, -100, 100, -100, -59, 100, 63, -63, -100, 63, -52, 98, -98, 98, -102, 102, 59, -161, 102, -102, 0, 30, 51,
};

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions