Re: [racket-users] Quadruple-precision floating-point support?

2019-08-28 Thread George Neuner
Hi, On 8/28/2019 11:49 AM, Shaobo He wrote: Let me describe my use case first so that it's easier to clarify why bigfloat or double-double don't work for me. The program I've been working on requires emulation of arbitrary-precision *IEEE 754* floating-point arithmetic (the maximum precision

Re: [racket-users] Quadruple-precision floating-point support?

2019-08-28 Thread Shaobo He
Hello George, Let me describe my use case first so that it's easier to clarify why bigfloat or double-double don't work for me. The program I've been working on requires emulation of arbitrary-precision *IEEE 754* floating-point arithmetic (the maximum precision is double, for now) and

Re: [racket-users] Quadruple-precision floating-point support?

2019-08-25 Thread George Neuner
On 8/23/2019 8:39 PM, Shaobo He wrote: Hello everyone, I'm in need of quad-precision floating-point type/operations in Racket (the bigfloat module doesn't work for me). It appears there's none, am I right? The only hardware I am aware of with IEEE compatible quad precision is POWER9 

Re: [racket-users] Quadruple-precision floating-point support?

2019-08-23 Thread Shaobo He
Hi Josh, Thank you for the pointers. Although I'm also interested in implementing quad-floats using doubles, such a correct implementation would take much more time than the FFI approach as well as what I can afford given my time constraints. Shaobo Josh Rubin 于2019年8月23日周五 下午7:08写道: > > On

Re: [racket-users] Quadruple-precision floating-point support?

2019-08-23 Thread Josh Rubin
On 8/23/2019 8:39 PM, Shaobo He wrote: Hello everyone, I'm in need of quad-precision floating-point type/operations in Racket (the bigfloat module doesn't work for me). It appears there's none, am I right? If so, I think I will try to write one myself, which is going to be a wrapper to

[racket-users] Quadruple-precision floating-point support?

2019-08-23 Thread Shaobo He
Hello everyone, I'm in need of quad-precision floating-point type/operations in Racket (the bigfloat module doesn't work for me). It appears there's none, am I right? If so, I think I will try to write one myself, which is going to be a wrapper to libquadmath. Any suggestions about how I