Skip to content

Math.Cbrt

Name Mandatory Description Default Type
⬅️ Input The input float or sequence of floats to calculate the cube root of. FloatFloat2Float3Float4Color[Any]
Output ➡️ Outputs the cube root of the input. FloatFloat2Float3Float4Color[Any]

This shard calculates the cube root of the given input.

Examples

1
2
3
@f3(-27.0 1.0 8.0) | Math.Cbrt | Log
Math.Subtract(@f3(-3.0 1.0 2.0)) | Math.Abs
IsLess(@f3(0.00001 0.00001 0.00001)) | Assert.Is(true Break: true)

[info] [sample-wire] @f3(-3 1 2)