commit | 6e875e8b27fd103bb41590a580c8ee03ea5d7138 | [log] [tgz] |
---|---|---|
author | Joe Ramsay <Joe.Ramsay@arm.com> | Tue Nov 22 13:40:13 2022 +0000 |
committer | Joe Ramsay <joe.ramsay@arm.com> | Tue Nov 22 13:40:13 2022 +0000 |
tree | 4d75a7148f44b8dc9a1e1ea19b18a92a6c3acdf6 | |
parent | d5844d863d498cb1c43fde4ae3e47f3eeb5d0024 [diff] |
pl/math: Add scalar & vector/Neon cbrtf Both routines use the same algorithm - one Newton iteration with the initial guess obtained by a low-order polynomial. Scalar is used as a fallback for subnormal and special cases for the vector routine, which allows vastly simplified argument reduction and reassembly. Both routines accurate to 1.5 ULP.