Range consolidation: Difference between revisions
Content added Content deleted
Line 510: | Line 510: | ||
func Pt.min() => min(this::s, this::e) |
func Pt.min() => min(this::s, this::e) |
||
func Pt.max() => max(this::s, this::e) |
func Pt.max() => max(this::s, this::e) |
||
func Pt.toString() => "(\(this::s), \(this::e))" |
|||
let rng = [ |
let rng = [ |
||
Line 549: | Line 550: | ||
{{out}} |
{{out}} |
||
<pre>[( |
<pre>[(1.1, 2.2)] |
||
[( |
[(6.1, 8.3)] |
||
[( |
[(1, 2), (3, 4)] |
||
[( |
[(-1, 2), (3, 10)] |
||
[( |
[(-6, -1), (1, 8)]</pre> |
||
=={{header|Go}}== |
=={{header|Go}}== |