Commit Graph

4 Commits

Author SHA1 Message Date
Dan Kortschak
19131e1d16 internal/asm: clean up tolerant testing 2020-01-15 08:05:42 +10:30
Chad Kunde
4e1ef9c972 translate netlib l2norm algorithm to asm and remove branches
Netlib algorithm reduces overflow while calculating the l2norm of a
vector.

Translated to asm while reducing branches in NaN and Inf checks.
Overflow protection is equivalent to the Netlib standard implementation.
2019-11-15 18:20:45 +08:00
Dan Kortschak
7e1144f373 floats: match Norm behaviour in Distance 2019-10-25 16:27:36 +10:30
Dan Kortschak
e2ba7f0950 internal/asm,blas,floats: move level 2 norm to asm
This allows sharing of the blas implementation with floats and opens the
possibility of an assembly implementation of this function.
2019-10-25 16:27:36 +10:30