Commit aa80d4b0 authored by Steffen Michels's avatar Steffen Michels

use NaN/Infininty constants from StdReal

parent 5a02237f
Pipeline #17703 passed with stage
in 43 seconds
......@@ -118,8 +118,7 @@ ggen{|Real|} s
= takeWhile (\r -> abs r <= toReal (s.maxDepth - s.depth)) l
= l
// -nan nan inf -inf
l = [0.0,0.0/0.0,~(0.0/0.0),1.0/0.0,-1.0/0.0
l = [NaN, ~NaN, Infinity, ~Infinity
[r \\ x <- diag [1:prims] [1:prims] (\n d.toReal n/toReal d), r <- [x,~ x]]
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