[racket-dev] change abs to magnitude in rackunit^W everywhere?

From: John Clements (clements at brinckerhoff.org)
Date: Thu Apr 26 13:47:32 EDT 2012

I see that rackunit's check-= handles real numbers only, since it uses "abs" on the difference between the two. I want to use it on complex numbers, and it would seem that changing 'abs' into 'magnitude' would not change the non-error-signalling behavior, and would allow its use on complex numbers as well. Am I missing anything?

If I don't hear back, I'll push the change in 24 hours or so.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4800 bytes
Desc: not available
URL: <http://lists.racket-lang.org/dev/archive/attachments/20120426/143122a5/attachment.p7s>

Posted on the dev mailing list.