Dear Racket Users,

I’ve noticed the following procedure calls don’t return (on my 64 bit Mac 
hardware):

(range (- 1 1e-16) 1.0 1e-17)
(range 0 1 0)

While (2) is obvious, (1) tripped me up (as I hadn’t noticed my step size had 
fallen to effectively zero).

A small tweak to for.rkt in the racket distribution could trap the condition of 
an actually or effectively zero step. for.rkt already traps the condition where 
step is not real.

If this makes sense, could one of the authors consider adding the tweak? Or is 
there a reason for leaving it alone?

Kind regards,



Tim

Tim Jervis

http://timjervis.com/ <http://timjervis.com/>

-- 
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