CurryInfo: benchmark-papers-3.0.0 / Test.Benchmark.Goodies.showF2

definition: Info
 
showF2 :: Float -> String
showF2 x = let (xs,ys) = break (=='.') (show x)
            in if null ys then xs ++ ".00"
                          else xs ++ "." ++ take 2 (tail ys ++ repeat '0')
demand: Info
 no demanded arguments
deterministic: Info
 deterministic operation
documentation: Info
 
Shows a floating point number with two decimals.
failfree: Info
 _
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {(_) |-> _}
name: Info
 showF2
precedence: Info
 no precedence defined
result-values: Info
 _
signature: Info
 Prelude.Float -> String
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 possibly non-terminating
totally-defined: Info
 possibly non-reducible on same data term