Fix dec limits. Allow 1024 in number and seq limits.

This commit is contained in:
Edward Diener
2020-07-28 01:39:40 -04:00
parent 21f796567e
commit 585fad5198
4 changed files with 5 additions and 4 deletions

View File

@ -15,7 +15,6 @@
# ifndef BOOST_PREPROCESSOR_ARITHMETIC_DEC_1024_HPP # ifndef BOOST_PREPROCESSOR_ARITHMETIC_DEC_1024_HPP
# define BOOST_PREPROCESSOR_ARITHMETIC_DEC_1024_HPP # define BOOST_PREPROCESSOR_ARITHMETIC_DEC_1024_HPP
# #
# define BOOST_PP_DEC_513 512
# define BOOST_PP_DEC_514 513 # define BOOST_PP_DEC_514 513
# define BOOST_PP_DEC_515 514 # define BOOST_PP_DEC_515 514
# define BOOST_PP_DEC_516 515 # define BOOST_PP_DEC_516 515
@ -527,5 +526,6 @@
# define BOOST_PP_DEC_1022 1021 # define BOOST_PP_DEC_1022 1021
# define BOOST_PP_DEC_1023 1022 # define BOOST_PP_DEC_1023 1022
# define BOOST_PP_DEC_1024 1023 # define BOOST_PP_DEC_1024 1023
# define BOOST_PP_DEC_1025 1024
# #
# endif # endif

View File

@ -271,5 +271,6 @@
# define BOOST_PP_DEC_254 253 # define BOOST_PP_DEC_254 253
# define BOOST_PP_DEC_255 254 # define BOOST_PP_DEC_255 254
# define BOOST_PP_DEC_256 255 # define BOOST_PP_DEC_256 255
# define BOOST_PP_DEC_257 256
# #
# endif # endif

View File

@ -15,7 +15,6 @@
# ifndef BOOST_PREPROCESSOR_ARITHMETIC_DEC_512_HPP # ifndef BOOST_PREPROCESSOR_ARITHMETIC_DEC_512_HPP
# define BOOST_PREPROCESSOR_ARITHMETIC_DEC_512_HPP # define BOOST_PREPROCESSOR_ARITHMETIC_DEC_512_HPP
# #
# define BOOST_PP_DEC_257 256
# define BOOST_PP_DEC_258 257 # define BOOST_PP_DEC_258 257
# define BOOST_PP_DEC_259 258 # define BOOST_PP_DEC_259 258
# define BOOST_PP_DEC_260 259 # define BOOST_PP_DEC_260 259
@ -271,5 +270,6 @@
# define BOOST_PP_DEC_510 509 # define BOOST_PP_DEC_510 509
# define BOOST_PP_DEC_511 510 # define BOOST_PP_DEC_511 510
# define BOOST_PP_DEC_512 511 # define BOOST_PP_DEC_512 511
# define BOOST_PP_DEC_513 512
# #
# endif # endif

View File

@ -69,7 +69,7 @@
#else #else
# #
# if defined(BOOST_PP_LIMIT_MAG) # if defined(BOOST_PP_LIMIT_MAG)
# if !(BOOST_PP_LIMIT_MAG == 256 || BOOST_PP_LIMIT_MAG == 512) # if !(BOOST_PP_LIMIT_MAG == 256 || BOOST_PP_LIMIT_MAG == 512 || BOOST_PP_LIMIT_MAG == 1024)
# undef BOOST_PP_LIMIT_MAG # undef BOOST_PP_LIMIT_MAG
# define BOOST_PP_LIMIT_MAG 256 # define BOOST_PP_LIMIT_MAG 256
# define BOOST_PP_LIMIT_WHILE 256 # define BOOST_PP_LIMIT_WHILE 256
@ -136,7 +136,7 @@
# endif # endif
# #
# if defined(BOOST_PP_LIMIT_SEQ) # if defined(BOOST_PP_LIMIT_SEQ)
# if !(BOOST_PP_LIMIT_SEQ == 256 || BOOST_PP_LIMIT_SEQ == 512) # if !(BOOST_PP_LIMIT_SEQ == 256 || BOOST_PP_LIMIT_SEQ == 512 || BOOST_PP_LIMIT_SEQ == 1024)
# undef BOOST_PP_LIMIT_SEQ # undef BOOST_PP_LIMIT_SEQ
# define BOOST_PP_LIMIT_SEQ 256 # define BOOST_PP_LIMIT_SEQ 256
# elif BOOST_PP_LIMIT_SEQ > BOOST_PP_LIMIT_MAG # elif BOOST_PP_LIMIT_SEQ > BOOST_PP_LIMIT_MAG