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, ideally, 
the exact result. Racket appears to have great support for double precision 
floats, but I haven't found any functions that correspond to single 
precision floats.

Some questions:


   1. Should I be implementing my own versions of the flonum arithmetic 
   functions that operate on single precision floats? (See these 
   functions: 
https://docs.racket-lang.org/reference/flonums.html#%28part._.Flonum_.Arithmetic%29)
   2. What about other support functions that require knowledge of the bit 
   patterns of the floats? 
   (See 
https://docs.racket-lang.org/math/flonum.html#%28part._.Measuring_.Floating-.Point_.Error%29
 
   or 
   
https://docs.racket-lang.org/math/flonum.html#%28part._.Low-.Level_.Flonum_.Operations%29)


I would *love* to use Racket for this task and ideally, I need to have 
access to all the functions on the pages linked above but for single 
precision floats (half precision floats would also be nice!).

Have I missed something obvious?

-Dale Kim

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to