fmaDot4

inline fun fmaDot4(a0: Double, b0: Double, c0: Double, d0: Double, a1: Double, b1: Double, c1: Double, d1: Double, a2: Double, b2: Double, c2: Double, d2: Double, a3: Double, b3: Double, c3: Double, d3: Double): Double(source)

Computes a fused multiply-add dot product operation across four sets of inputs. Each set performs multiplications, computes fused additions, and sums them into a single result, ensuring improved precision through the usage of fused multiply-add operations.

Return

The result of the fused multiply-add dot product calculation.

Parameters

a0

The first factor of the first term.

b0

The second factor of the first term.

c0

The third factor of the first term.

d0

The fourth factor of the first term.

a1

The first factor of the second term.

b1

The second factor of the second term.

c1

The third factor of the second term.

d1

The fourth factor of the second term.

a2

The first factor of the third term.

b2

The second factor of the third term.

c2

The third factor of the third term.

d2

The fourth factor of the third term.

a3

The first factor of the fourth term.

b3

The second factor of the fourth term.

c3

The third factor of the fourth term.

d3

The fourth factor of the fourth term.