Skip to content

[libc][math] should fmod(-NAN,-NAN) = +NAN? #88772

Open
@Flandini

Description

@Flandini

Following up on #61092, the report seems to indicate that fmod(-NAN,-NAN) = +NAN is a problem.

Is this wrong? I can't tell from 7.12.10.1.3 or F.10.7.1 what the behavior for two NaN arguments should be.

We seem to match glibc on this.

This behavior still happens and is already tested for, just a question of if we have the semantics correct?

Tagging @nickdesaulniers and @michaelrj-google.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions