This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Generalize inRANGE()
authorKarl Williamson <khw@cpan.org>
Wed, 26 Jun 2019 18:23:47 +0000 (12:23 -0600)
committerKarl Williamson <khw@cpan.org>
Sun, 15 Sep 2019 04:26:49 +0000 (22:26 -0600)
commit4758c20d21341aad8eb03b0831dc6e1a38046a0e
treebeea75a90f7bcd78b06d12eb468b023dd3b31388
parent833b0f46f2b673765c7e3d42e8530db0ad65ceeb
Generalize inRANGE()

I figured out a way to make this work generally.  I've also tested this
vs what some modern compilers do under -O2.  It seems this macro is
slightly better.
handy.h