Module "Float.curry"

A collection of operations on floating point numbers.


 Exported names:

Functions:
*. | +. | -. | /. | atan | cos | exp | i2f | log | round | sin | sqrt | tan | truncate


 Summary of exported functions:

(+.)  :: Float -> Float -> Float  deterministic 
          Addition on floats.
(-.)  :: Float -> Float -> Float  deterministic 
          Subtraction on floats.
(*.)  :: Float -> Float -> Float  deterministic 
          Multiplication on floats.
(/.)  :: Float -> Float -> Float  deterministic 
          Division on floats.
i2f  :: Int -> Float  deterministic 
          Conversion function from integers to floats.
truncate  :: Float -> Int  deterministic 
          Conversion function from floats to integers.
round  :: Float -> Int  deterministic 
          Conversion function from floats to integers.
sqrt  :: Float -> Float  deterministic 
          Square root.
log  :: Float -> Float  deterministic 
          Natural logarithm.
exp  :: Float -> Float  deterministic 
          Natural exponent.
sin  :: Float -> Float  deterministic 
          Sine.
cos  :: Float -> Float  deterministic 
          Cosine.
tan  :: Float -> Float  deterministic 
          Tangent.
atan  :: Float -> Float  deterministic 
          Arc tangent.

 Imported modules:

Prelude

 Exported datatypes:


 Exported functions:

(+.) :: Float -> Float -> Float  deterministic 

Addition on floats.

Further infos:
  • defined as left-associative infix operator with precedence 6

(-.) :: Float -> Float -> Float  deterministic 

Subtraction on floats.

Further infos:
  • defined as left-associative infix operator with precedence 6

(*.) :: Float -> Float -> Float  deterministic 

Multiplication on floats.

Further infos:
  • defined as left-associative infix operator with precedence 7

(/.) :: Float -> Float -> Float  deterministic 

Division on floats.

Further infos:
  • defined as left-associative infix operator with precedence 7

i2f :: Int -> Float  deterministic 

Conversion function from integers to floats.


truncate :: Float -> Int  deterministic 

Conversion function from floats to integers. The result is the closest integer between the argument and 0.


round :: Float -> Int  deterministic 

Conversion function from floats to integers. The result is the nearest integer to the argument. If the argument is equidistant between two integers, it is rounded to the closest even integer value.


sqrt :: Float -> Float  deterministic 

Square root.


log :: Float -> Float  deterministic 

Natural logarithm.


exp :: Float -> Float  deterministic 

Natural exponent.


sin :: Float -> Float  deterministic 

Sine.


cos :: Float -> Float  deterministic 

Cosine.


tan :: Float -> Float  deterministic 

Tangent.


atan :: Float -> Float  deterministic 

Arc tangent.



Generated by CurryDoc (Version 0.4.1 of June 7, 2007) at Aug 28 15:28:01 2008