sin (Function)

Signature: sin(x: float) -> float

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

Parameters

  • x (float): The angle in radians

Returns: float

Example

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