Skip to content

x/exp/shiny/iconvg: Encoder.SetEllipticalGradient floating point math diverges on ARM64 due to FMA #43219

@bcmills

Description

@bcmills

2020-12-15T15:35:30-b5a6e24/darwin-arm64-11_0-toothrot

--- FAIL: TestEncodeElliptical (0.00s)
    encode_test.go:48: 
        got  88 bytes:
        89 49 56 47 00 98 02 8a ca 00 0a 4a ae af aa aa bc bd 0a ac 03 00 00 b2 ab 8b 88 08 3d aa 00 b9 a0 87 4b af 00 87 03 af 02 00 40 c0 40 40 e6 c0 e8 c0 e6 40 e1 80 7c c0 56 6c 02 58 6a 5a 6c 58 6e e1 c0 56 9c 02 58 9a 5a 9c 58 9e e1 c0 92 8a 02 94 88 96 8a 94 8c e1
        want 85 bytes:
        89 49 56 47 00 98 02 8a ca 00 0a 4a ae af aa aa bc bd 0a ac 00 ab 8b 88 08 3d aa 00 b9 a0 87 4b af 00 87 03 af 02 00 40 c0 40 40 e6 c0 e8 c0 e6 40 e1 80 7c c0 56 6c 02 58 6a 5a 6c 58 6e e1 c0 56 9c 02 58 9a 5a 9c 58 9e e1 c0 92 8a 02 94 88 96 8a 94 8c e1
FAIL
FAIL	golang.org/x/exp/shiny/iconvg	0.953s

CC @golang/release @nigeltao @cherrymui

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.arch-arm64

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions