How to Install and Uninstall ghc-double-conversion Package on openSUSE Leap
Last updated: December 25,2024
1. Install "ghc-double-conversion" package
Please follow the step by step instructions below to install ghc-double-conversion on openSUSE Leap
$
sudo zypper refresh
Copied
$
sudo zypper install
ghc-double-conversion
Copied
2. Uninstall "ghc-double-conversion" package
Learn how to uninstall ghc-double-conversion on openSUSE Leap:
$
sudo zypper remove
ghc-double-conversion
Copied
3. Information about the ghc-double-conversion package on openSUSE Leap
Information for package ghc-double-conversion:
----------------------------------------------
Repository : Main Repository
Name : ghc-double-conversion
Version : 2.0.4.1-bp155.2.17
Arch : x86_64
Vendor : openSUSE
Installed Size : 262.8 KiB
Installed : No
Status : not installed
Source package : ghc-double-conversion-2.0.4.1-bp155.2.17.src
Upstream URL : https://hackage.haskell.org/package/double-conversion
Summary : Fast conversion between single and double precision floating point and text
Description :
A library that performs fast, accurate conversion between floating point and
text.
This library is implemented as bindings to the C++ 'double-conversion' library
written by Florian Loitsch at Google:
.
Now it can convert single precision numbers, and also it can create Builder,
instead of bytestring or text.
The 'Text' versions of these functions are about 30 times faster than the
default 'show' implementation for the 'Double' type.
The 'ByteString' versions are /slower/ than the 'Text' versions; roughly half
the speed. (This seems to be due to the cost of allocating 'ByteString' values
via 'malloc'.)
Builder versions are slower on single value, but they are much faster on large
number of values (up to 50x faster on list with 20000 doubles).
As a final note, be aware that the 'bytestring-show' package is about 50%
slower than simply using 'show'.
----------------------------------------------
Repository : Main Repository
Name : ghc-double-conversion
Version : 2.0.4.1-bp155.2.17
Arch : x86_64
Vendor : openSUSE
Installed Size : 262.8 KiB
Installed : No
Status : not installed
Source package : ghc-double-conversion-2.0.4.1-bp155.2.17.src
Upstream URL : https://hackage.haskell.org/package/double-conversion
Summary : Fast conversion between single and double precision floating point and text
Description :
A library that performs fast, accurate conversion between floating point and
text.
This library is implemented as bindings to the C++ 'double-conversion' library
written by Florian Loitsch at Google:
Now it can convert single precision numbers, and also it can create Builder,
instead of bytestring or text.
The 'Text' versions of these functions are about 30 times faster than the
default 'show' implementation for the 'Double' type.
The 'ByteString' versions are /slower/ than the 'Text' versions; roughly half
the speed. (This seems to be due to the cost of allocating 'ByteString' values
via 'malloc'.)
Builder versions are slower on single value, but they are much faster on large
number of values (up to 50x faster on list with 20000 doubles).
As a final note, be aware that the 'bytestring-show' package is about 50%
slower than simply using 'show'.