Convex hull: Difference between revisions
m
→{{header|Fortran}}
(→{{header|Phix}}: syntax coloured, made p2js compatible, added online link) |
|||
Line 1,170:
{{out}}
If you compile with -Wextra you may get warnings about the use of == on floating-point numbers. I hate those warnings and turn them off if I am using -Wextra.
<pre>$ gfortran -fcheck=all -std=f2018 convex_hull_task.f90 && ./a.out
(-9. -3.) (-3. -9.) (19. -8.) (17. 5.) (12. 17.) ( 5. 19.) (-3. 15.)</pre>
|