hmpfr-0.4.4: Haskell binding to the MPFR library

Copyright(c) Aleš Bizjak
LicenseBSD3
Maintainermikkonecny@gmail.com
Stabilityexperimental
Portabilitynon-portable
Safe HaskellNone
LanguageHaskell98

Data.Number.MPFR.Comparison

Contents

Description

All the functions that return Maybe Ordering return Nothing when one of the operands is NaN and Just _ otherwise.

For documentation on particular functions see http://www.mpfr.org/mpfr-current/mpfr.html#Comparison-Functions

Documentation

Orphan instances

Eq MPFR Source # 

Methods

(==) :: MPFR -> MPFR -> Bool #

(/=) :: MPFR -> MPFR -> Bool #

Ord MPFR Source # 

Methods

compare :: MPFR -> MPFR -> Ordering #

(<) :: MPFR -> MPFR -> Bool #

(<=) :: MPFR -> MPFR -> Bool #

(>) :: MPFR -> MPFR -> Bool #

(>=) :: MPFR -> MPFR -> Bool #

max :: MPFR -> MPFR -> MPFR #

min :: MPFR -> MPFR -> MPFR #