Skip to content

wrong fp16 adder: -2+2=2 #4

Open

Description

@fanfanfan-hff

a,b:c000 4000
bigger,smaller,aligned_small:4000 4000 400
adder_input_1,adder_input_2,adder_output,400 400 000
result:4000

should be 0

Activity

  1. chamchamgo commented on May 14, 2025

    @chamchamgo

    reproduced , maybe normalization code has bug.

  2. erihsu commented on Sep 7, 2025

    @erihsu
    Owner

    @fanfanfan-hff should consider the case into directed test. any founds of bug will be appreciated and willing to merge request. I believe no one until now use this code into real chip project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions