[Haskell-cafe] Problems with truncate big float values in Haskell

Manuel Gómez targen at gmail.com
Thu Jan 5 20:18:24 UTC 2017


On Thu, Jan 5, 2017 at 3:51 PM, Henson <jfsihenson at gmail.com> wrote:
> Ok! I have mistake the correct number. Really the number is Irrational and
> the problem is the values are Infinity but How I work with BigFloat precision
> for Arbitrary numbers in Haskell?!
>
> I need get the values for arbitrary precision numbers in haskell about
> samples posted not is better implementation for that because range of double
> implemented in various languages.
>
> The correct question here about that is How to resolve that problem?!
>
> I need get three last digits for arbitrary numbers and after search in
> various places not found response for that.
>
> If exists any material about that but not only for explanations about Floats
> and Doubles it's a good start for resolve question.

I haven't used it, but this package looks like it might help in your
situation: http://hackage.haskell.org/package/cyclotomic


More information about the Haskell-Cafe mailing list