在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):PaulJohnson/Haskell-Decimal开源软件地址(OpenSource Url):https://github.com/PaulJohnson/Haskell-Decimal开源编程语言(OpenSource Language):Haskell 100.0%开源软件介绍(OpenSource Introduction):Haskell-DecimalFixed-precision decimal numbers, where the precision is carried with the numbers at run-time. The 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. QuickCheck SpecificationData.Decimal includes a set of QuickCheck properties which act as both tests and a formal specification. To run the tests do: cabal configure --enable-tests cabal build cabal test or stack test |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论