scientific icon indicating copy to clipboard operation
scientific copied to clipboard

Arbitrary-precision floating-point numbers represented using scientific notation

Results 16 scientific issues
Sort by recently updated
recently updated
newest added

scientific 1 (maxBound::Int) * scientific 1 (maxBound::Int) evaluates to 1.0e-2.

Normalizing in the `Lift` instance can reduce normalization work in generated splices.

The internal representation of `Scientific` is currently: ``` data Scientific = Scientific { coefficient :: !Integer , base10Exponent :: {-# UNPACK #-} !Int } ``` It's been [pointed out on...

Hi, I have a newtype over Scientific and I've made a quasi quoter for using it in an expression. However, I believe to make a quasi quoter to use it...

Lets see if we can optimise `Data.ByteString.Builder.Scientific.scientificBuilder` with the ideas in this article: https://www.pvk.ca/Blog/2017/12/22/appnexus-common-framework-its-out-also-how-to-print-integers-faster/

I want to store a scientific value in the database using a predefined base (e.g. 2.56 as 256 with predefined exponent of -2). When I retrieve the value from the...

`scientific` compiles against `containers 0.7`.

This is a dependency purely for writing an instance, so it should be optional IMO. A better solution would be to put it in a cabal sublibrary, but a flag...

This makes it trivial to edit the library, just open a `nix-shell` and vscode inside and you are good to go! I removed the `inNixShell` thing, because for building the...

This has tripped me up a little, I did not see the “or is a float” part. Now it should be more obvious.