Cumulative standard deviation: Difference between revisions
Content added Content deleted
PatGarrett (talk | contribs) |
PatGarrett (talk | contribs) (→{{header|360 Assembly}}: remove useless instructions) |
||
Line 10: | Line 10: | ||
=={{header|360 Assembly}}== |
=={{header|360 Assembly}}== |
||
For maximum compatibility, this program uses only the basic instruction set. |
For maximum compatibility, this program uses only the basic instruction set. |
||
Part of the code length is due to the square root algorithm and to the nice output. |
|||
<lang 360asm>******** Standard deviation of a population |
<lang 360asm>******** Standard deviation of a population |
||
STDDEV CSECT |
STDDEV CSECT |
||
Line 94: | Line 95: | ||
B LOOPI |
B LOOPI |
||
ENDLOOPI EQU * |
ENDLOOPI EQU * |
||
RETURN EQU * |
|||
CNOP 0,4 |
|||
L R13,4(0,R13) |
L R13,4(0,R13) |
||
LM R14,R12,12(R13) |
LM R14,R12,12(R13) |