FANDOM


Description Edit

A [VM] instruction that calculates and stores the sine of a number.

Usage Edit

sin: [{store}, {num}]

hakkML Example Edit

name: sin_example
blocks:
  core:
  entry: {name: 'main', loc : [0,1]}
code:
  main:
    - rem: stores the sine of 42 in core.0
    - sin: [core.0, 42]
    - rem: outputs '0.66913060635885821382627333068678'
    - out: core.0
    - exit: 0