Convex hull: Difference between revisions

m
(→‎{{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. Those(Unfortunately, warningsthere areis formuch incorrect information about == and floating- point newbiesthat is widely taught as inviolable doctrine.)
<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>
1,448

edits