Re: [racket-users] typed/racket surprises

2018-04-09 Thread Philip McGrath
Thanks for your helpful reply. I've created GitHub issues https://github.com/racket/typed-racket/issues/691 and https://github.com/racket/typed-racket/issues/692 to track the bugs, and I will try my hand at a pull request for `parse-command-line` if I have time before you do. On Fri, Apr 6, 2018

[racket-users] IEEE 754 single precision float support

2018-04-09 Thread dkim
Hey all, I'm very interested in using Racket for the purposes of numerical analysis. Specifically, I am interested in using Racket as my test bed for implementing simple numerical algorithms which operate on IEEE 754 single precision floats and compare those results against a ground truth,

Re: [racket-users] IEEE 754 single precision float support

2018-04-09 Thread Philip McGrath
Hopefully someone who's tried this sort of thing will be able to give you a better answer, but, from my quick poking around, it seems that, while there is not a special library like racket/flonum for single-precision, Racket's generic number operations (like +) work on single-precision floats and

Re: [racket-users] IEEE 754 single precision float support

2018-04-09 Thread George Neuner
On 4/9/2018 7:11 PM, d...@insomniacgames.com wrote: I'm very interested in using Racket for the purposes of numerical analysis. Specifically, I am interested in using Racket as my test bed for implementing simple numerical algorithms which operate on IEEE 754 single precision floats and

Re: [racket-users] IEEE 754 single precision float support

2018-04-09 Thread dkim
For the applications I work on, double precision floats are too costly to use; although the CPU cycle count to operate on doubles tend to be the same as single precision floats on modern hardware, the bandwidth cost is too prohibitive. We really do need single precision floats, and in many