core.power-of-ten
- description
- 10 to the power of n (n >= 0)
- type
Fn(n: Number) -> Number
- expression
fn(n$0) =>
match @core.less-than-or-equal(left: $0, right: 0) {
true =>
1,
false =>
@core.multiply(left: 10, right: @core.power-of-ten(n: @core.minus(left: $0, right: 1)))
}- visibility
- public
core.power-of-ten (project definy, branch commit-check, snapshot Jh11inSnBH1eenK5G-juhyzQabT1OLdy3NmjD6OiVCs)
id: -wD1VdkcE2gl3gUgjM4s28vZR0k5WXc3YiyYMOP95MI
content hash: 26JvlPaic4PcBVyueWCLPQMFbPUyQDpmzX4p17N54Uc