Skip to content

Underflow flag not set at subnormal/normal boundary for each FMA #58

Description

@genlu67

Behaviour: Underflow flag not set at subnormal/normal boundary for FMA. According to IEEE 754, the underflow for after rounding should be raise when a non-zero result computed as though the exponent range were unbounded would lie strictly between ±b^(emin). The floatrix app has found a situation where the operand_a is 16'h03ee, operand_b is 16'h3c12 and operand_c is 16'b8000 result into the computed result that lied at the boundary of subnormal/normal boundary, and should be inexact with underflow flag.

Related ticket: A similar ticket was also found in cvfpu: openhwgroup/cvfpu#94

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions