Skip to content

Math.Cbrt

Name - Description Default Type
<input> Any valid float(s) or a sequence of such entities supported by this operation. FloatFloat2Float3Float4Color[Any]
<output> The result of the operation, usually in the same type as the input value. FloatFloat2Float3Float4Color[Any]

Applies the unary operation on the input value and returns the result (or a sequence of results if the input and the operand are sequences).

Examples

1
2
3
4
5
(float3 -27.0 1.0 8.0)
(Math.Cbrt) (Log)

(Math.Subtract (float3 -3.0 1.0 2.0)) (Math.Abs)
(IsLess (float3 1e-05 1e-05 1e-05)) (Assert.Is true true)
[info] [shards/Math/Cbrt/Cbrt.edn] (-3 1 2)