DIV

From STX Wiki
< Programmer Guide‎ | SPU Reference
Revision as of 14:54, 2 March 2015 by Jw (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Quotient of A and B.

[SPU DIV A B OUT Y]

In Out Description
Anumber, Bnumber Ynumber Y = A / B
Avector, Bnumber Yvector Y[i] = A[i] / B
Avector, Bvector Yvector Y[i] = A[i] / B[i]

with: 0 ≤ i < length of Avector

note: if B (B[i]) equals 0, the output Y (Y[i]) is set to 0.

See also

<SP-atoms>

Navigation menu

Personal tools