long double

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

long double

Dannyu NDos
Could we implement IEEE quadruple-precision (binary128) format?

_______________________________________________
Libraries mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries
Reply | Threaded
Open this post in threaded view
|

Re: long double

Matt Peddie
Hi Dannyu NDos,

Have you seen the qd package (https://hackage.haskell.org/package/qd)
?  Is this insufficient for your needs?

Matt

On Fri, Aug 30, 2019 at 12:57 PM Dannyu NDos <[hidden email]> wrote:
>
> Could we implement IEEE quadruple-precision (binary128) format?
> _______________________________________________
> Libraries mailing list
> [hidden email]
> http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries
_______________________________________________
Libraries mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries
Reply | Threaded
Open this post in threaded view
|

Re: long double

Dannyu NDos
That package requires use of IO monad. I'd like if long double works as that of C's.

2019년 8월 30일 (금) 12:16, Matt Peddie <[hidden email]>님이 작성:
Hi Dannyu NDos,

Have you seen the qd package (https://hackage.haskell.org/package/qd)
?  Is this insufficient for your needs?

Matt

On Fri, Aug 30, 2019 at 12:57 PM Dannyu NDos <[hidden email]> wrote:
>
> Could we implement IEEE quadruple-precision (binary128) format?
> _______________________________________________
> Libraries mailing list
> [hidden email]
> http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries

_______________________________________________
Libraries mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries
Reply | Threaded
Open this post in threaded view
|

Re: long double

Dannyu NDos
In reply to this post by Matt Peddie
I see long-double package is suitable: http://hackage.haskell.org/package/long-double

Could we officially adopt it?

2019년 8월 30일 (금) 12:16, Matt Peddie <[hidden email]>님이 작성:
Hi Dannyu NDos,

Have you seen the qd package (https://hackage.haskell.org/package/qd)
?  Is this insufficient for your needs?

Matt

On Fri, Aug 30, 2019 at 12:57 PM Dannyu NDos <[hidden email]> wrote:
>
> Could we implement IEEE quadruple-precision (binary128) format?
> _______________________________________________
> Libraries mailing list
> [hidden email]
> http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries

_______________________________________________
Libraries mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries
Reply | Threaded
Open this post in threaded view
|

Re: long double

David Feuer
In reply to this post by Dannyu NDos
You're looking in the wrong module. See Numeric.QD.DoubleDouble.

On Thu, Aug 29, 2019, 11:25 PM Dannyu NDos <[hidden email]> wrote:
That package requires use of IO monad. I'd like if long double works as that of C's.

2019년 8월 30일 (금) 12:16, Matt Peddie <[hidden email]>님이 작성:
Hi Dannyu NDos,

Have you seen the qd package (https://hackage.haskell.org/package/qd)
?  Is this insufficient for your needs?

Matt

On Fri, Aug 30, 2019 at 12:57 PM Dannyu NDos <[hidden email]> wrote:
>
> Could we implement IEEE quadruple-precision (binary128) format?
> _______________________________________________
> Libraries mailing list
> [hidden email]
> http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries
_______________________________________________
Libraries mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries

_______________________________________________
Libraries mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries
Reply | Threaded
Open this post in threaded view
|

Re: long double

Henning Thielemann
In reply to this post by Dannyu NDos

On Fri, 30 Aug 2019, Dannyu NDos wrote:

> Could we implement IEEE quadruple-precision (binary128) format?

I think this is a pure Haskell implementation of the idea of representing
high precision floats as sums of low precision floats:
    https://hackage.haskell.org/package/compensated
_______________________________________________
Libraries mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries
Reply | Threaded
Open this post in threaded view
|

Re: long double

Carter Schonwald
Yeah compensated is a great foundation. Bear in mind that is can’t do as extreme a dynamic range as a vanilla quad double but will be good for extra precision. 

On Fri, Aug 30, 2019 at 1:53 AM Henning Thielemann <[hidden email]> wrote:

On Fri, 30 Aug 2019, Dannyu NDos wrote:

> Could we implement IEEE quadruple-precision (binary128) format?

I think this is a pure Haskell implementation of the idea of representing
high precision floats as sums of low precision floats:
    https://hackage.haskell.org/package/compensated
_______________________________________________
Libraries mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries

_______________________________________________
Libraries mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries