Commit 45ad37d8 authored by Mart Lubbers's avatar Mart Lubbers

Add special real values to the gen function

parent 0ab4a7cc
Pipeline #16651 failed with stage
in 51 seconds
......@@ -118,7 +118,8 @@ ggen{|Real|} s
= takeWhile (\r -> abs r <= toReal (s.maxDepth - s.depth)) l
= l
where
l = [0.0
// -nan nan inf -inf
l = [0.0,0.0/0.0,~(0.0/0.0),1.0/0.0,-1.0/0.0
:interleave
[r \\ x <- diag [1:prims] [1:prims] (\n d.toReal n/toReal d), r <- [x,~ x]]
(interleave
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment