CurryInfo: verify-non-fail-2.0.0 / Verify.WithSMT.ilog

definition:
 
ilog :: Int -> Int
ilog n | n>0 = if n<10 then 0 else 1 + ilog (n `div` 10)
demand:
 no demanded arguments
deterministic:
 deterministic operation
documentation:
 
The value of `ilog n` is the floor of the logarithm
in the base 10 of `n`.
Fails if `n &lt;= 0`.
For positive integers, the returned value is
1 less the number of digits in the decimal representation of `n`.

@param n - The argument.
@return the floor of the logarithm in the base 10 of `n`.
failfree:
 <FAILING>
indeterministic:
 referentially transparent operation
infix:
 no fixity defined
iotype:
 {(_) |-> _}
name:
 ilog
precedence:
 no precedence defined
result-values:
 _
signature:
 Prelude.Int -> Prelude.Int
solution-complete:
 operation might suspend on free variables
terminating:
 possibly non-terminating
totally-defined:
 possibly non-reducible on same data term