diff options
| author | Matthew Neleigh <matthew.neleigh@gmail.com> | 2025-08-10 18:57:15 -0400 |
|---|---|---|
| committer | Matthew Neleigh <matthew.neleigh@gmail.com> | 2025-08-10 18:57:15 -0400 |
| commit | 57fbcb2ab6b2daf24e8b2aec085f468c1259b04e (patch) | |
| tree | 49a1d6c43e99519d926f993d6a65172daa08268c | |
| parent | f8399a41bc71112f4b3edc42da0ceb9200214cdc (diff) | |
| download | perlweeklychallenge-club-57fbcb2ab6b2daf24e8b2aec085f468c1259b04e.tar.gz perlweeklychallenge-club-57fbcb2ab6b2daf24e8b2aec085f468c1259b04e.tar.bz2 perlweeklychallenge-club-57fbcb2ab6b2daf24e8b2aec085f468c1259b04e.zip | |
modified: challenge-333/mattneleigh/perl/ch-1.pl
| -rwxr-xr-x | challenge-333/mattneleigh/perl/ch-1.pl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/challenge-333/mattneleigh/perl/ch-1.pl b/challenge-333/mattneleigh/perl/ch-1.pl index 722c3ff99a..b9c88615da 100755 --- a/challenge-333/mattneleigh/perl/ch-1.pl +++ b/challenge-333/mattneleigh/perl/ch-1.pl @@ -53,10 +53,10 @@ exit(0); ################################################################################ # Given a set of coordinates that define three points, determine whether these -# points make a straight line. This is accomplished by etermining whether the -# triangle formed by the points has an area of zero; due to round-off error, it -# is possible that a set of points that are very nearly (but not quite) -# colinear may be determined to be so. +# points make a straight line. This is accomplished by calculating the area of +# the triangle formed by the points and determining whether it is zero; due to +# round-off error, it is possible that a set of points that are very nearly +# (but not quite) colinear may be indicated as colinear. # Takes one argument: # * A list of coordinates to examine (e.g. ([ 1, 4 ], [ 3, 4 ], [ 10, 4 ]) ) # Returns: |
