Bresenham tasks in ATS: Difference between revisions

Content added Content deleted
No edit summary
Line 718: Line 718:
val C = compute_C
val C = compute_C
in
in
@(~C / B, ~C / B)
@(~C / B, nan)
end
end
end
end
Line 994: Line 994:
val @(t1, t2) = spower_inflections_degree3<dblknd> (cx, cy)
val @(t1, t2) = spower_inflections_degree3<dblknd> (cx, cy)
val- true = abs (t1 - 0.5) < 0.00000001
val- true = abs (t1 - 0.5) < 0.00000001
val- true = abs (t2 - 0.5) < 0.00000001
in
in
end;
end;