Summary: | PPC64 hypot() is "inf" for very large values that are non-infinite on other architectures | ||
---|---|---|---|
Product: | glibc | Reporter: | Dave Malcolm <dmalcolm> |
Component: | math | Assignee: | Andreas Jaeger <aj> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jakub |
Priority: | P2 | Flags: | fweimer:
security-
|
Version: | 2.14 | ||
Target Milestone: | --- | ||
Host: | Target: | ||
Build: | Last reconfirmed: |
Description
Dave Malcolm
2011-12-05 23:36:53 UTC
Fixed on master. Can you explain where and how? I don't see any recent fixes for the buggy sysdeps/powerpc/fpu/e_hypot.c, all other architectures use a sane implementation, but this new powerpc implementation doesn't attempt to handle any corner cases except for the checks if larger one is > two500 or smaller one < twoM500. Forgot to push out. Note to self: Fix appears to be: http://repo.or.cz/w/glibc.git/commit/850fb039cec802072f70ed9763927881bbbf639c |