commit | 0d3c3cd35440d224ddbcd1496b48835443f4c7c1 | [log] [tgz] |
---|---|---|
author | Joe Ramsay <Joe.Ramsay@arm.com> | Mon Dec 05 11:56:33 2022 +0000 |
committer | Joe Ramsay <joe.ramsay@arm.com> | Mon Dec 05 11:56:33 2022 +0000 |
tree | eb4ff0f4278a7de9a7c1dbda7d4621846b85a816 | |
parent | 8a644bf15812edaba38b41ca142e8e7e328e7918 [diff] |
pl/math: Avoid UB in scalar tanhf The ldexp shortcut was left-shifting a signed value. We now bias the exponent first, will allows the shift to be done on an unsigned value.