This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Simplify perl.h floating-point limits defines
authorAaron Crane <arc@cpan.org>
Fri, 13 Oct 2017 13:34:03 +0000 (15:34 +0200)
committerAaron Crane <arc@cpan.org>
Sat, 21 Oct 2017 15:53:06 +0000 (16:53 +0100)
commit63b481b9190a4e9eac012ce7222e23c0fef1bac0
treedc4b3c8196a165a8d496d4b313733d34d2938253
parentbe9d87ad962b0216d0ff92be75d90e3b36eeadb9
Simplify perl.h floating-point limits defines

- Always include <float.h> and <limits.h>

- Assume that the DBL_* constants are always available in <float.h> (though
  we still check for each LDBL_* constant individually)

- Drop support for the undocumented OVR_DBL_DIG and OVR_LDBL_DIG
  preprocessor symbols

- Use cpp "#elif"
perl.h