sin (Function)

Signature: sin(x: t0) -> t0

Description: The sine of a float in radians. Total over IEEE doubles; pure, so a kernel may call it or name it.

Parameters

  • x (t0): The angle in radians

Returns: t0

Example

print(sin(1.0))  // 0.8414709848078965
print (sin 1.0)  // 0.8414709848078965