public static Span256 <double> div(ReadOnlySpan256 <double> lhs, ReadOnlySpan256 <double> rhs, Span256 <double> dst) { var blocks = dst.BlockCount; for (var block = 0; block < blocks; block++) { vstore(dfp.div(lhs.LoadVec256(block), rhs.LoadVec256(block)), ref dst[block]); } return(dst); }
public static Span256 <ulong> add(ReadOnlySpan256 <ulong> lhs, ReadOnlySpan256 <ulong> rhs, Span256 <ulong> dst) { var blocks = dst.BlockCount; for (var block = 0; block < blocks; block++) { vstore(dinx.add(lhs.LoadVec256(block), rhs.LoadVec256(block)), ref dst.Block(block)); } return(dst); }
public static Span256 <float> fmul(ReadOnlySpan256 <float> lhs, ReadOnlySpan256 <float> rhs, Span256 <float> dst) { var blocks = dst.BlockCount; for (var block = 0; block < blocks; block++) { vstore(dfp.fmul(lhs.LoadVec256(block), rhs.LoadVec256(block)), ref dst.Block(block)); } return(dst); }