Path to this page:
./
finance/hsDecimal,
Decimal arithmetic for financial applications
Branch: CURRENT,
Version: 0.5.1,
Package name: hsDecimal0.5.1,
Maintainer: pkgsrcusersHaskellDecimal
===============
Fixedprecision decimal numbers, where the precision is carried with
the numbers at runtime.
The `Decimal` type is mainly intended for doing financial arithmetic
where the number of decimal places may not be known at compile time
(e.g. for a program that handles both Yen and Dollars) and the
application must not drop pennies on the floor. For instance if you
have to divide $10 between three people then one of them has to get
$3.34.
The number of decimal places in a value is represented as a Word8,
allowing for up to 255 decimal places. Functions preserve precision.
Addition and subtraction operators return a result with the precision
of the most precise argument, so 2.3 + 5.678 = 7.978. Multiplication
and division use whatever precision is necessary up to 255 decimal
places.
Required to run:[
lang/ghc88]
Required to build:[
pkgtools/cwrappers]
Master sites:
SHA1: 9d744d8edf29bb4e453ec10d025278b1c8b32273
RMD160: ee2b2c1ce4b5dde1d8af70824b41601886983fbd
Filesize: 9.329 KB
Version history: (Expand)
 (20200331) Package added to pkgsrc.se, version hsDecimal0.5.1 (created)
CVS history: (Expand)
20200511 19:52:21 by Roland Illig  Files touched by this commit (190)  
Log message:
hs*: add PLIST files
These PLIST files have been autogenerated by mk/haskell.mk using
HS_UPDATE_PLIST=yes during a bulk build. They will help to track changes
to the packages. The Haskell packages didn't have PLIST files because
their paths contained package hashes. These hashes are now determined by
mk/haskell.mk, which makes it easy to generate easy to read PLIST files.

20200330 18:44:12 by Taylor R Campbell  Files touched by this commit (4) 
Log message:
hsDecimal: Import version 0.5.1
