Issue 89841
Summary [PPC] APFloat ilogb ignores less significant double of DoubleAPFloat cases
Labels new issue
Assignees
Reporter hubert-reinterpretcast
    The second double is ignored by `ilogb` in:
https://github.com/llvm/llvm-project/blob/0c0c5c475857e9cd6a2fe82fd1e46abdb174a1c1/llvm/include/llvm/ADT/APFloat.h#L1349

This is not correct for cases where the first double is exactly a power of two and the second double is a normal floating-point value with the opposite sign.

_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to