 numeric/limits.hpp
 numeric/limits.hpp
    
- View this file on GitHub
- Last update: 2024-05-01 21:20:47+09:00
- Include: #include "numeric/limits.hpp"
Depends on
Required by
 action/base.hpp action/base.hpp
 action/helpers.hpp action/helpers.hpp
 action/null.hpp action/null.hpp
 action/range_add.hpp action/range_add.hpp
 action/range_add_range_max.hpp action/range_add_range_max.hpp
 action/range_add_range_min.hpp action/range_add_range_min.hpp
 action/range_add_range_sum.hpp action/range_add_range_sum.hpp
 action/range_affine_range_minmax.hpp action/range_affine_range_minmax.hpp
 action/range_affine_range_sum.hpp action/range_affine_range_sum.hpp
 action/range_bitxor.hpp action/range_bitxor.hpp
 action/range_chgcd_range_gcd.hpp action/range_chgcd_range_gcd.hpp
 action/range_chmax_range_max.hpp action/range_chmax_range_max.hpp
 action/range_chmin_range_min.hpp action/range_chmin_range_min.hpp
 action/range_chminchmax_range_minmax.hpp action/range_chminchmax_range_minmax.hpp
 action/range_composition.hpp action/range_composition.hpp
 action/range_flip_range_bitxor.hpp action/range_flip_range_bitxor.hpp
 action/range_gcd.hpp action/range_gcd.hpp
 action/range_max.hpp action/range_max.hpp
 action/range_min.hpp action/range_min.hpp
 action/range_sequence_hash.hpp action/range_sequence_hash.hpp
 action/range_set.hpp action/range_set.hpp
 action/range_set_range_composition.hpp action/range_set_range_composition.hpp
 action/range_set_range_max.hpp action/range_set_range_max.hpp
 action/range_set_range_min.hpp action/range_set_range_min.hpp
 action/range_set_range_sum.hpp action/range_set_range_sum.hpp
 action/range_sum.hpp action/range_sum.hpp
 adaptor/internal/input.hpp adaptor/internal/input.hpp
 adaptor/io.hpp adaptor/io.hpp
 adaptor/map.hpp adaptor/map.hpp
 adaptor/set.hpp adaptor/set.hpp
 algebraic/addition.hpp algebraic/addition.hpp
 algebraic/affine.hpp algebraic/affine.hpp
 algebraic/assignment.hpp algebraic/assignment.hpp
 algebraic/base.hpp algebraic/base.hpp
 algebraic/bit_and.hpp algebraic/bit_and.hpp
 algebraic/bit_or.hpp algebraic/bit_or.hpp
 algebraic/bit_xor.hpp algebraic/bit_xor.hpp
 algebraic/combined.hpp algebraic/combined.hpp
 algebraic/gcd.hpp algebraic/gcd.hpp
 algebraic/helper.hpp algebraic/helper.hpp
 algebraic/internal/concepts.hpp algebraic/internal/concepts.hpp
 algebraic/maximum.hpp algebraic/maximum.hpp
 algebraic/minimum.hpp algebraic/minimum.hpp
 algebraic/minmax.hpp algebraic/minmax.hpp
 algebraic/null.hpp algebraic/null.hpp
 algebraic/opposite.hpp algebraic/opposite.hpp
 algebraic/rolling_hash.hpp algebraic/rolling_hash.hpp
 convolution/gcd.hpp convolution/gcd.hpp
 convolution/internal/butterfly.hpp convolution/internal/butterfly.hpp
 convolution/lcm.hpp convolution/lcm.hpp
 convolution/sum.hpp convolution/sum.hpp
 data_structure/adaptor/set.hpp data_structure/adaptor/set.hpp
 data_structure/bit_vector.hpp data_structure/bit_vector.hpp
 data_structure/disjoint_sparse_table.hpp data_structure/disjoint_sparse_table.hpp
 data_structure/dynamic_segment_tree.hpp data_structure/dynamic_segment_tree.hpp
 data_structure/dynamic_sequence.hpp data_structure/dynamic_sequence.hpp
 data_structure/dynamic_set.hpp data_structure/dynamic_set.hpp
 data_structure/fenwick_tree.hpp data_structure/fenwick_tree.hpp
 data_structure/foldable_deque.hpp data_structure/foldable_deque.hpp
 data_structure/foldable_queue.hpp data_structure/foldable_queue.hpp
 data_structure/foldable_stack.hpp data_structure/foldable_stack.hpp
 data_structure/internal/dynamic_tree.hpp data_structure/internal/dynamic_tree.hpp
 data_structure/lazy_segment_tree.hpp data_structure/lazy_segment_tree.hpp
 data_structure/persistent_queue.hpp data_structure/persistent_queue.hpp
 data_structure/red_black_tree.hpp data_structure/red_black_tree.hpp
 data_structure/segment_tree.hpp data_structure/segment_tree.hpp
 data_structure/treap.hpp data_structure/treap.hpp
 data_structure/wavelet_matrix.hpp data_structure/wavelet_matrix.hpp
 geometry/arrow.hpp geometry/arrow.hpp
 geometry/circle.hpp geometry/circle.hpp
 geometry/convex_hull.hpp geometry/convex_hull.hpp
 geometry/line.hpp geometry/line.hpp
 geometry/point.hpp geometry/point.hpp
 geometry/polygon.hpp geometry/polygon.hpp
 geometry/segment.hpp geometry/segment.hpp
 geometry/triangle.hpp geometry/triangle.hpp
 global/constants.hpp global/constants.hpp
 graph/centroid_decomposition.hpp graph/centroid_decomposition.hpp
 graph/connected_components.hpp graph/connected_components.hpp
 graph/internal/01bfs.hpp graph/internal/01bfs.hpp
 graph/internal/bfs.hpp graph/internal/bfs.hpp
 graph/internal/dijkstra.hpp graph/internal/dijkstra.hpp
 graph/is_bipartite.hpp graph/is_bipartite.hpp
 graph/lowest_common_ancestor.hpp graph/lowest_common_ancestor.hpp
 graph/manhattan_minimum_spanning_tree.hpp graph/manhattan_minimum_spanning_tree.hpp
 graph/minimum_paph_cover.hpp graph/minimum_paph_cover.hpp
 graph/parse_grid.hpp graph/parse_grid.hpp
 graph/reachability_test.hpp graph/reachability_test.hpp
 graph/shortest_path.hpp graph/shortest_path.hpp
 graph/spanning_tree.hpp graph/spanning_tree.hpp
 graph/topological_sort.hpp graph/topological_sort.hpp
 graph/tree_diamiter.hpp graph/tree_diamiter.hpp
 graph/tree_hash.hpp graph/tree_hash.hpp
 hash/general_hasher.hpp hash/general_hasher.hpp
 hash/multiset_hasher.hpp hash/multiset_hasher.hpp
 hash/sequence_hasher.hpp hash/sequence_hasher.hpp
 hash/set_hasher.hpp hash/set_hasher.hpp
 include/actions.hpp include/actions.hpp
 include/adaptors.hpp include/adaptors.hpp
 include/algebraic.hpp include/algebraic.hpp
 include/all.hpp include/all.hpp
 include/convolutions.hpp include/convolutions.hpp
 include/data_structures.hpp include/data_structures.hpp
 include/essential.hpp include/essential.hpp
 include/geometries.hpp include/geometries.hpp
 include/graph_theory.hpp include/graph_theory.hpp
 include/hashes.hpp include/hashes.hpp
 include/iterable.hpp include/iterable.hpp
 include/numeric.hpp include/numeric.hpp
 include/template.hpp include/template.hpp
 include/views.hpp include/views.hpp
 internal/auto_holder.hpp internal/auto_holder.hpp
 internal/point_reference.hpp internal/point_reference.hpp
 internal/range_reference.hpp internal/range_reference.hpp
 iterable/count_inversion.hpp iterable/count_inversion.hpp
 iterable/counter.hpp iterable/counter.hpp
 iterable/inverse.hpp iterable/inverse.hpp
 iterable/longest_common_subsequence.hpp iterable/longest_common_subsequence.hpp
 iterable/longest_increasing_subsequence.hpp iterable/longest_increasing_subsequence.hpp
 iterable/operation.hpp iterable/operation.hpp
 numeric/arithmetic.hpp numeric/arithmetic.hpp
 numeric/binomial_coefficient.hpp numeric/binomial_coefficient.hpp
 numeric/bit.hpp numeric/bit.hpp
 numeric/boundary_seeker.hpp numeric/boundary_seeker.hpp
 numeric/divisor_multiple_transform.hpp numeric/divisor_multiple_transform.hpp
 numeric/extremum_seeker.hpp numeric/extremum_seeker.hpp
 numeric/factorial.hpp numeric/factorial.hpp
 numeric/fast_prime.hpp numeric/fast_prime.hpp
 numeric/float.hpp numeric/float.hpp
 numeric/internal/divisors.hpp numeric/internal/divisors.hpp
 numeric/internal/factorize.hpp numeric/internal/factorize.hpp
 numeric/internal/mo.hpp numeric/internal/mo.hpp
 numeric/internal/primality_test.hpp numeric/internal/primality_test.hpp
 numeric/internal/primitive_root.hpp numeric/internal/primitive_root.hpp
 numeric/interval_scanner.hpp numeric/interval_scanner.hpp
 numeric/matrix.hpp numeric/matrix.hpp
 numeric/modular/barrett_reduction.hpp numeric/modular/barrett_reduction.hpp
 numeric/modular/binary_reduction.hpp numeric/modular/binary_reduction.hpp
 numeric/modular/builtin_reduction.hpp numeric/modular/builtin_reduction.hpp
 numeric/modular/modint.hpp numeric/modular/modint.hpp
 numeric/modular/modint_interface.hpp numeric/modular/modint_interface.hpp
 numeric/modular/montgomery_reduction.hpp numeric/modular/montgomery_reduction.hpp
 numeric/numerical_sequence.hpp numeric/numerical_sequence.hpp
 numeric/prime_counter.hpp numeric/prime_counter.hpp
 numeric/prime_enumerator.hpp numeric/prime_enumerator.hpp
 numeric/quotient_enumerator.hpp numeric/quotient_enumerator.hpp
 numeric/repeater.hpp numeric/repeater.hpp
 numeric/subset_enumerator.hpp numeric/subset_enumerator.hpp
 random/engine.hpp random/engine.hpp
 structure/graph.hpp structure/graph.hpp
 structure/grid.hpp structure/grid.hpp
 template/small.hpp template/small.hpp
 template/standard.hpp template/standard.hpp
 template/using.hpp template/using.hpp
 utility/functional.hpp utility/functional.hpp
 utility/restrictor.hpp utility/restrictor.hpp
 verify/aizu-online-judge/itp1_1_a/internal/dynamic_sequence.0000.hpp verify/aizu-online-judge/itp1_1_a/internal/dynamic_sequence.0000.hpp
 verify/aizu-online-judge/itp1_1_a/internal/dynamic_sequence.0001.hpp verify/aizu-online-judge/itp1_1_a/internal/dynamic_sequence.0001.hpp
 view/chunk.hpp view/chunk.hpp
 view/cyclic.hpp view/cyclic.hpp
 view/repeat.hpp view/repeat.hpp
 view/slide.hpp view/slide.hpp
 view/stride.hpp view/stride.hpp
 view/zip.hpp view/zip.hpp
Verified with
 verify/aizu-online-judge/0342/0000.test.cpp verify/aizu-online-judge/0342/0000.test.cpp
 verify/aizu-online-judge/1508/0000.test.cpp verify/aizu-online-judge/1508/0000.test.cpp
 verify/aizu-online-judge/1508/0001.test.cpp verify/aizu-online-judge/1508/0001.test.cpp
 verify/aizu-online-judge/1508/0002.test.cpp verify/aizu-online-judge/1508/0002.test.cpp
 verify/aizu-online-judge/1549/0000.test.cpp verify/aizu-online-judge/1549/0000.test.cpp
 verify/aizu-online-judge/1549/0001.test.cpp verify/aizu-online-judge/1549/0001.test.cpp
 verify/aizu-online-judge/1549/0002.test.cpp verify/aizu-online-judge/1549/0002.test.cpp
 verify/aizu-online-judge/1549/0003.test.cpp verify/aizu-online-judge/1549/0003.test.cpp
 verify/aizu-online-judge/2320/0000.test.cpp verify/aizu-online-judge/2320/0000.test.cpp
 verify/aizu-online-judge/2426/0000.test.cpp verify/aizu-online-judge/2426/0000.test.cpp
 verify/aizu-online-judge/alds1_10_c/0000.test.cpp verify/aizu-online-judge/alds1_10_c/0000.test.cpp
 verify/aizu-online-judge/alds1_11_d/0000.test.cpp verify/aizu-online-judge/alds1_11_d/0000.test.cpp
 verify/aizu-online-judge/alds1_11_d/0001.test.cpp verify/aizu-online-judge/alds1_11_d/0001.test.cpp
 verify/aizu-online-judge/alds1_14_b/0000.test.cpp verify/aizu-online-judge/alds1_14_b/0000.test.cpp
 verify/aizu-online-judge/cgl_1_a/0000.test.cpp verify/aizu-online-judge/cgl_1_a/0000.test.cpp
 verify/aizu-online-judge/cgl_1_b/0000.test.cpp verify/aizu-online-judge/cgl_1_b/0000.test.cpp
 verify/aizu-online-judge/cgl_1_c/0000.test.cpp verify/aizu-online-judge/cgl_1_c/0000.test.cpp
 verify/aizu-online-judge/cgl_2_a/0000.test.cpp verify/aizu-online-judge/cgl_2_a/0000.test.cpp
 verify/aizu-online-judge/cgl_2_b/0000.test.cpp verify/aizu-online-judge/cgl_2_b/0000.test.cpp
 verify/aizu-online-judge/cgl_2_c/0000.test.cpp verify/aizu-online-judge/cgl_2_c/0000.test.cpp
 verify/aizu-online-judge/cgl_3_a/0000.test.cpp verify/aizu-online-judge/cgl_3_a/0000.test.cpp
 verify/aizu-online-judge/cgl_3_b/0000.test.cpp verify/aizu-online-judge/cgl_3_b/0000.test.cpp
 verify/aizu-online-judge/cgl_4_a/0000.test.cpp verify/aizu-online-judge/cgl_4_a/0000.test.cpp
 verify/aizu-online-judge/cgl_7_a/0000.test.cpp verify/aizu-online-judge/cgl_7_a/0000.test.cpp
 verify/aizu-online-judge/cgl_7_b/0000.test.cpp verify/aizu-online-judge/cgl_7_b/0000.test.cpp
 verify/aizu-online-judge/cgl_7_c/0000.test.cpp verify/aizu-online-judge/cgl_7_c/0000.test.cpp
 verify/aizu-online-judge/dsl_1_a/0000.test.cpp verify/aizu-online-judge/dsl_1_a/0000.test.cpp
 verify/aizu-online-judge/dsl_2_a/0000.test.cpp verify/aizu-online-judge/dsl_2_a/0000.test.cpp
 verify/aizu-online-judge/dsl_2_d/0000.test.cpp verify/aizu-online-judge/dsl_2_d/0000.test.cpp
 verify/aizu-online-judge/dsl_2_d/0001.test.cpp verify/aizu-online-judge/dsl_2_d/0001.test.cpp
 verify/aizu-online-judge/dsl_2_d/0002.test.cpp verify/aizu-online-judge/dsl_2_d/0002.test.cpp
 verify/aizu-online-judge/dsl_2_d/0003.test.cpp verify/aizu-online-judge/dsl_2_d/0003.test.cpp
 verify/aizu-online-judge/dsl_2_d/0004.test.cpp verify/aizu-online-judge/dsl_2_d/0004.test.cpp
 verify/aizu-online-judge/dsl_2_d/0005.test.cpp verify/aizu-online-judge/dsl_2_d/0005.test.cpp
 verify/aizu-online-judge/dsl_2_d/0006.test.cpp verify/aizu-online-judge/dsl_2_d/0006.test.cpp
 verify/aizu-online-judge/dsl_2_d/0007.test.cpp verify/aizu-online-judge/dsl_2_d/0007.test.cpp
 verify/aizu-online-judge/dsl_2_d/0008.test.cpp verify/aizu-online-judge/dsl_2_d/0008.test.cpp
 verify/aizu-online-judge/dsl_2_d/0009.test.cpp verify/aizu-online-judge/dsl_2_d/0009.test.cpp
 verify/aizu-online-judge/dsl_2_e/0000.test.cpp verify/aizu-online-judge/dsl_2_e/0000.test.cpp
 verify/aizu-online-judge/dsl_2_e/0001.test.cpp verify/aizu-online-judge/dsl_2_e/0001.test.cpp
 verify/aizu-online-judge/dsl_2_f/0000.test.cpp verify/aizu-online-judge/dsl_2_f/0000.test.cpp
 verify/aizu-online-judge/dsl_2_f/0001.test.cpp verify/aizu-online-judge/dsl_2_f/0001.test.cpp
 verify/aizu-online-judge/dsl_2_f/0002.test.cpp verify/aizu-online-judge/dsl_2_f/0002.test.cpp
 verify/aizu-online-judge/dsl_2_f/0003.test.cpp verify/aizu-online-judge/dsl_2_f/0003.test.cpp
 verify/aizu-online-judge/dsl_2_f/0004.test.cpp verify/aizu-online-judge/dsl_2_f/0004.test.cpp
 verify/aizu-online-judge/dsl_2_f/0005.test.cpp verify/aizu-online-judge/dsl_2_f/0005.test.cpp
 verify/aizu-online-judge/dsl_2_g/0000.test.cpp verify/aizu-online-judge/dsl_2_g/0000.test.cpp
 verify/aizu-online-judge/dsl_2_g/0001.test.cpp verify/aizu-online-judge/dsl_2_g/0001.test.cpp
 verify/aizu-online-judge/dsl_2_g/0002.test.cpp verify/aizu-online-judge/dsl_2_g/0002.test.cpp
 verify/aizu-online-judge/dsl_2_g/0003.test.cpp verify/aizu-online-judge/dsl_2_g/0003.test.cpp
 verify/aizu-online-judge/dsl_2_h/0000.test.cpp verify/aizu-online-judge/dsl_2_h/0000.test.cpp
 verify/aizu-online-judge/dsl_2_h/0001.test.cpp verify/aizu-online-judge/dsl_2_h/0001.test.cpp
 verify/aizu-online-judge/dsl_2_h/0002.test.cpp verify/aizu-online-judge/dsl_2_h/0002.test.cpp
 verify/aizu-online-judge/dsl_2_h/0003.test.cpp verify/aizu-online-judge/dsl_2_h/0003.test.cpp
 verify/aizu-online-judge/dsl_2_h/0004.test.cpp verify/aizu-online-judge/dsl_2_h/0004.test.cpp
 verify/aizu-online-judge/dsl_2_i/0000.test.cpp verify/aizu-online-judge/dsl_2_i/0000.test.cpp
 verify/aizu-online-judge/grl_1_a/0000.test.cpp verify/aizu-online-judge/grl_1_a/0000.test.cpp
 verify/aizu-online-judge/itp1_1_a/0000.test.cpp verify/aizu-online-judge/itp1_1_a/0000.test.cpp
 verify/aizu-online-judge/itp1_1_a/0001.test.cpp verify/aizu-online-judge/itp1_1_a/0001.test.cpp
 verify/aizu-online-judge/itp1_1_a/0002.test.cpp verify/aizu-online-judge/itp1_1_a/0002.test.cpp
 verify/aizu-online-judge/itp1_1_a/0003.test.cpp verify/aizu-online-judge/itp1_1_a/0003.test.cpp
 verify/aizu-online-judge/itp1_1_a/0004.test.cpp verify/aizu-online-judge/itp1_1_a/0004.test.cpp
 verify/aizu-online-judge/itp1_1_a/0005.test.cpp verify/aizu-online-judge/itp1_1_a/0005.test.cpp
 verify/aizu-online-judge/itp1_1_a/0006.test.cpp verify/aizu-online-judge/itp1_1_a/0006.test.cpp
 verify/aizu-online-judge/itp1_1_a/0007.test.cpp verify/aizu-online-judge/itp1_1_a/0007.test.cpp
 verify/aizu-online-judge/itp1_1_a/0008.test.cpp verify/aizu-online-judge/itp1_1_a/0008.test.cpp
 verify/aizu-online-judge/itp1_1_a/0009.test.cpp verify/aizu-online-judge/itp1_1_a/0009.test.cpp
 verify/aizu-online-judge/itp1_1_a/0010.test.cpp verify/aizu-online-judge/itp1_1_a/0010.test.cpp
 verify/aizu-online-judge/itp1_1_a/0011.test.cpp verify/aizu-online-judge/itp1_1_a/0011.test.cpp
 verify/aizu-online-judge/itp1_1_a/0012.test.cpp verify/aizu-online-judge/itp1_1_a/0012.test.cpp
 verify/aizu-online-judge/itp1_1_a/0013.test.cpp verify/aizu-online-judge/itp1_1_a/0013.test.cpp
 verify/aizu-online-judge/itp1_1_a/0014.test.cpp verify/aizu-online-judge/itp1_1_a/0014.test.cpp
 verify/aizu-online-judge/itp1_1_a/0015.test.cpp verify/aizu-online-judge/itp1_1_a/0015.test.cpp
 verify/aizu-online-judge/itp1_6_c/0000.test.cpp verify/aizu-online-judge/itp1_6_c/0000.test.cpp
 verify/aizu-online-judge/ntl_1_a/0000.test.cpp verify/aizu-online-judge/ntl_1_a/0000.test.cpp
 verify/yosupo-judge/associative_array/0000.test.cpp verify/yosupo-judge/associative_array/0000.test.cpp
 verify/yosupo-judge/associative_array/0001.test.cpp verify/yosupo-judge/associative_array/0001.test.cpp
 verify/yosupo-judge/associative_array/0002.test.cpp verify/yosupo-judge/associative_array/0002.test.cpp
 verify/yosupo-judge/associative_array/0003.test.cpp verify/yosupo-judge/associative_array/0003.test.cpp
 verify/yosupo-judge/binomial_coefficient/0000.test.cpp verify/yosupo-judge/binomial_coefficient/0000.test.cpp
 verify/yosupo-judge/binomial_coefficient_prime_mod/0000.test.cpp verify/yosupo-judge/binomial_coefficient_prime_mod/0000.test.cpp
 verify/yosupo-judge/binomial_coefficient_prime_mod/0001.test.cpp verify/yosupo-judge/binomial_coefficient_prime_mod/0001.test.cpp
 verify/yosupo-judge/binomial_coefficient_prime_mod/0002.test.cpp verify/yosupo-judge/binomial_coefficient_prime_mod/0002.test.cpp
 verify/yosupo-judge/binomial_coefficient_prime_mod/0003.test.cpp verify/yosupo-judge/binomial_coefficient_prime_mod/0003.test.cpp
 verify/yosupo-judge/bipartitematching/0000.test.cpp verify/yosupo-judge/bipartitematching/0000.test.cpp
 verify/yosupo-judge/convolution_mod/0000.test.cpp verify/yosupo-judge/convolution_mod/0000.test.cpp
 verify/yosupo-judge/convolution_mod_1000000007/0000.test.cpp verify/yosupo-judge/convolution_mod_1000000007/0000.test.cpp
 verify/yosupo-judge/counting_primes/0000.test.cpp verify/yosupo-judge/counting_primes/0000.test.cpp
 verify/yosupo-judge/deque_operate_all_composite/0000.test.cpp verify/yosupo-judge/deque_operate_all_composite/0000.test.cpp
 verify/yosupo-judge/deque_operate_all_composite/0001.test.cpp verify/yosupo-judge/deque_operate_all_composite/0001.test.cpp
 verify/yosupo-judge/deque_operate_all_composite/0002.test.cpp verify/yosupo-judge/deque_operate_all_composite/0002.test.cpp
 verify/yosupo-judge/deque_operate_all_composite/0003.test.cpp verify/yosupo-judge/deque_operate_all_composite/0003.test.cpp
 verify/yosupo-judge/deque_operate_all_composite/0004.test.cpp verify/yosupo-judge/deque_operate_all_composite/0004.test.cpp
 verify/yosupo-judge/deque_operate_all_composite/0005.test.cpp verify/yosupo-judge/deque_operate_all_composite/0005.test.cpp
 verify/yosupo-judge/double_ended_priority_queue/0000.test.cpp verify/yosupo-judge/double_ended_priority_queue/0000.test.cpp
 verify/yosupo-judge/dynamic_sequence_range_affine_range_sum/0000.test.cpp verify/yosupo-judge/dynamic_sequence_range_affine_range_sum/0000.test.cpp
 verify/yosupo-judge/dynamic_sequence_range_affine_range_sum/0001.test.cpp verify/yosupo-judge/dynamic_sequence_range_affine_range_sum/0001.test.cpp
 verify/yosupo-judge/dynamic_sequence_range_affine_range_sum/0002.test.cpp verify/yosupo-judge/dynamic_sequence_range_affine_range_sum/0002.test.cpp
 verify/yosupo-judge/dynamic_sequence_range_affine_range_sum/0003.test.cpp verify/yosupo-judge/dynamic_sequence_range_affine_range_sum/0003.test.cpp
 verify/yosupo-judge/dynamic_sequence_range_affine_range_sum/0004.test.cpp verify/yosupo-judge/dynamic_sequence_range_affine_range_sum/0004.test.cpp
 verify/yosupo-judge/dynamic_sequence_range_affine_range_sum/0005.test.cpp verify/yosupo-judge/dynamic_sequence_range_affine_range_sum/0005.test.cpp
 verify/yosupo-judge/enumerate_primes/0000.test.cpp verify/yosupo-judge/enumerate_primes/0000.test.cpp
 verify/yosupo-judge/enumerate_quotients/0000.test.cpp verify/yosupo-judge/enumerate_quotients/0000.test.cpp
 verify/yosupo-judge/factorize/0000.test.cpp verify/yosupo-judge/factorize/0000.test.cpp
 verify/yosupo-judge/gcd_convolution/0000.test.cpp verify/yosupo-judge/gcd_convolution/0000.test.cpp
 verify/yosupo-judge/kth_root_integer/0000.test.cpp verify/yosupo-judge/kth_root_integer/0000.test.cpp
 verify/yosupo-judge/lca/0000.test.cpp verify/yosupo-judge/lca/0000.test.cpp
 verify/yosupo-judge/lca/0001.test.cpp verify/yosupo-judge/lca/0001.test.cpp
 verify/yosupo-judge/lcm_convolution/0000.test.cpp verify/yosupo-judge/lcm_convolution/0000.test.cpp
 verify/yosupo-judge/longest_increasing_subsequence/0000.test.cpp verify/yosupo-judge/longest_increasing_subsequence/0000.test.cpp
 verify/yosupo-judge/manhattanmst/0000.test.cpp verify/yosupo-judge/manhattanmst/0000.test.cpp
 verify/yosupo-judge/many_aplusb_128bit/0000.test.cpp verify/yosupo-judge/many_aplusb_128bit/0000.test.cpp
 verify/yosupo-judge/matrix_det_arbitrary_mod/0000.test.cpp verify/yosupo-judge/matrix_det_arbitrary_mod/0000.test.cpp
 verify/yosupo-judge/matrix_det_arbitrary_mod/0001.test.cpp verify/yosupo-judge/matrix_det_arbitrary_mod/0001.test.cpp
 verify/yosupo-judge/matrix_product/0000.test.cpp verify/yosupo-judge/matrix_product/0000.test.cpp
 verify/yosupo-judge/matrix_product/0001.test.cpp verify/yosupo-judge/matrix_product/0001.test.cpp
 verify/yosupo-judge/matrix_product/0002.test.cpp verify/yosupo-judge/matrix_product/0002.test.cpp
 verify/yosupo-judge/matrix_product/0003.test.cpp verify/yosupo-judge/matrix_product/0003.test.cpp
 verify/yosupo-judge/matrix_product/0004.test.cpp verify/yosupo-judge/matrix_product/0004.test.cpp
 verify/yosupo-judge/matrix_product/0005.test.cpp verify/yosupo-judge/matrix_product/0005.test.cpp
 verify/yosupo-judge/matrix_product/0006.test.cpp verify/yosupo-judge/matrix_product/0006.test.cpp
 verify/yosupo-judge/matrix_product/0007.test.cpp verify/yosupo-judge/matrix_product/0007.test.cpp
 verify/yosupo-judge/matrix_product/0008.test.cpp verify/yosupo-judge/matrix_product/0008.test.cpp
 verify/yosupo-judge/matrix_product/0009.test.cpp verify/yosupo-judge/matrix_product/0009.test.cpp
 verify/yosupo-judge/matrix_product/0010.test.cpp verify/yosupo-judge/matrix_product/0010.test.cpp
 verify/yosupo-judge/matrix_product/0011.test.cpp verify/yosupo-judge/matrix_product/0011.test.cpp
 verify/yosupo-judge/matrix_product/0012.test.cpp verify/yosupo-judge/matrix_product/0012.test.cpp
 verify/yosupo-judge/matrix_product/0013.test.cpp verify/yosupo-judge/matrix_product/0013.test.cpp
 verify/yosupo-judge/matrix_product/0014.test.cpp verify/yosupo-judge/matrix_product/0014.test.cpp
 verify/yosupo-judge/matrix_product/0015.test.cpp verify/yosupo-judge/matrix_product/0015.test.cpp
 verify/yosupo-judge/persistent_queue/0000.test.cpp verify/yosupo-judge/persistent_queue/0000.test.cpp
 verify/yosupo-judge/point_add_range_sum/0000.test.cpp verify/yosupo-judge/point_add_range_sum/0000.test.cpp
 verify/yosupo-judge/point_add_range_sum/0001.test.cpp verify/yosupo-judge/point_add_range_sum/0001.test.cpp
 verify/yosupo-judge/point_add_range_sum/0002.test.cpp verify/yosupo-judge/point_add_range_sum/0002.test.cpp
 verify/yosupo-judge/point_add_range_sum/0003.test.cpp verify/yosupo-judge/point_add_range_sum/0003.test.cpp
 verify/yosupo-judge/point_add_range_sum/0004.test.cpp verify/yosupo-judge/point_add_range_sum/0004.test.cpp
 verify/yosupo-judge/point_set_range_composite/0000.test.cpp verify/yosupo-judge/point_set_range_composite/0000.test.cpp
 verify/yosupo-judge/point_set_range_composite/0001.test.cpp verify/yosupo-judge/point_set_range_composite/0001.test.cpp
 verify/yosupo-judge/point_set_range_composite/0002.test.cpp verify/yosupo-judge/point_set_range_composite/0002.test.cpp
 verify/yosupo-judge/point_set_range_composite/0003.test.cpp verify/yosupo-judge/point_set_range_composite/0003.test.cpp
 verify/yosupo-judge/predecessor_problem/0000.test.cpp verify/yosupo-judge/predecessor_problem/0000.test.cpp
 verify/yosupo-judge/predecessor_problem/0001.test.cpp verify/yosupo-judge/predecessor_problem/0001.test.cpp
 verify/yosupo-judge/predecessor_problem/0002.test.cpp verify/yosupo-judge/predecessor_problem/0002.test.cpp
 verify/yosupo-judge/predecessor_problem/0003.test.cpp verify/yosupo-judge/predecessor_problem/0003.test.cpp
 verify/yosupo-judge/primality_test/0000.test.cpp verify/yosupo-judge/primality_test/0000.test.cpp
 verify/yosupo-judge/primitive_root/0000.test.cpp verify/yosupo-judge/primitive_root/0000.test.cpp
 verify/yosupo-judge/queue_operate_all_composite/0000.test.cpp verify/yosupo-judge/queue_operate_all_composite/0000.test.cpp
 verify/yosupo-judge/queue_operate_all_composite/0001.test.cpp verify/yosupo-judge/queue_operate_all_composite/0001.test.cpp
 verify/yosupo-judge/queue_operate_all_composite/0002.test.cpp verify/yosupo-judge/queue_operate_all_composite/0002.test.cpp
 verify/yosupo-judge/queue_operate_all_composite/0003.test.cpp verify/yosupo-judge/queue_operate_all_composite/0003.test.cpp
 verify/yosupo-judge/queue_operate_all_composite/0004.test.cpp verify/yosupo-judge/queue_operate_all_composite/0004.test.cpp
 verify/yosupo-judge/queue_operate_all_composite/0005.test.cpp verify/yosupo-judge/queue_operate_all_composite/0005.test.cpp
 verify/yosupo-judge/range_affine_range_sum/0000.test.cpp verify/yosupo-judge/range_affine_range_sum/0000.test.cpp
 verify/yosupo-judge/range_affine_range_sum/0001.test.cpp verify/yosupo-judge/range_affine_range_sum/0001.test.cpp
 verify/yosupo-judge/range_affine_range_sum/0002.test.cpp verify/yosupo-judge/range_affine_range_sum/0002.test.cpp
 verify/yosupo-judge/range_affine_range_sum/0003.test.cpp verify/yosupo-judge/range_affine_range_sum/0003.test.cpp
 verify/yosupo-judge/range_affine_range_sum/0004.test.cpp verify/yosupo-judge/range_affine_range_sum/0004.test.cpp
 verify/yosupo-judge/range_affine_range_sum/0005.test.cpp verify/yosupo-judge/range_affine_range_sum/0005.test.cpp
 verify/yosupo-judge/range_affine_range_sum/0006.test.cpp verify/yosupo-judge/range_affine_range_sum/0006.test.cpp
 verify/yosupo-judge/range_affine_range_sum/0007.test.cpp verify/yosupo-judge/range_affine_range_sum/0007.test.cpp
 verify/yosupo-judge/range_affine_range_sum/0008.test.cpp verify/yosupo-judge/range_affine_range_sum/0008.test.cpp
 verify/yosupo-judge/range_kth_smallest/0000.test.cpp verify/yosupo-judge/range_kth_smallest/0000.test.cpp
 verify/yosupo-judge/range_kth_smallest/0001.test.cpp verify/yosupo-judge/range_kth_smallest/0001.test.cpp
 verify/yosupo-judge/range_kth_smallest/0002.test.cpp verify/yosupo-judge/range_kth_smallest/0002.test.cpp
 verify/yosupo-judge/range_kth_smallest/0003.test.cpp verify/yosupo-judge/range_kth_smallest/0003.test.cpp
 verify/yosupo-judge/range_reverse_range_sum/0000.test.cpp verify/yosupo-judge/range_reverse_range_sum/0000.test.cpp
 verify/yosupo-judge/rectangle_sum/0000.test.cpp verify/yosupo-judge/rectangle_sum/0000.test.cpp
 verify/yosupo-judge/rectangle_sum/0001.test.cpp verify/yosupo-judge/rectangle_sum/0001.test.cpp
 verify/yosupo-judge/shortest_path/0000.test.cpp verify/yosupo-judge/shortest_path/0000.test.cpp
 verify/yosupo-judge/shortest_path/0001.test.cpp verify/yosupo-judge/shortest_path/0001.test.cpp
 verify/yosupo-judge/shortest_path/0002.test.cpp verify/yosupo-judge/shortest_path/0002.test.cpp
 verify/yosupo-judge/static_range_frequency/0000.test.cpp verify/yosupo-judge/static_range_frequency/0000.test.cpp
 verify/yosupo-judge/static_range_frequency/0001.test.cpp verify/yosupo-judge/static_range_frequency/0001.test.cpp
 verify/yosupo-judge/static_range_sum/0000.test.cpp verify/yosupo-judge/static_range_sum/0000.test.cpp
 verify/yosupo-judge/static_range_sum/0001.test.cpp verify/yosupo-judge/static_range_sum/0001.test.cpp
 verify/yosupo-judge/static_range_sum/0002.test.cpp verify/yosupo-judge/static_range_sum/0002.test.cpp
 verify/yosupo-judge/static_range_sum/0003.test.cpp verify/yosupo-judge/static_range_sum/0003.test.cpp
 verify/yosupo-judge/static_range_sum/0004.test.cpp verify/yosupo-judge/static_range_sum/0004.test.cpp
 verify/yosupo-judge/static_range_sum/0005.test.cpp verify/yosupo-judge/static_range_sum/0005.test.cpp
 verify/yosupo-judge/static_range_sum/0006.test.cpp verify/yosupo-judge/static_range_sum/0006.test.cpp
 verify/yosupo-judge/static_range_sum/0007.test.cpp verify/yosupo-judge/static_range_sum/0007.test.cpp
 verify/yosupo-judge/static_range_sum/0008.test.cpp verify/yosupo-judge/static_range_sum/0008.test.cpp
 verify/yosupo-judge/staticrmq/0000.test.cpp verify/yosupo-judge/staticrmq/0000.test.cpp
 verify/yosupo-judge/staticrmq/0001.test.cpp verify/yosupo-judge/staticrmq/0001.test.cpp
 verify/yosupo-judge/staticrmq/0002.test.cpp verify/yosupo-judge/staticrmq/0002.test.cpp
 verify/yosupo-judge/staticrmq/0003.test.cpp verify/yosupo-judge/staticrmq/0003.test.cpp
 verify/yosupo-judge/system_of_linear_equations/0000.test.cpp verify/yosupo-judge/system_of_linear_equations/0000.test.cpp
 verify/yukicoder/649/0000.test.cpp verify/yukicoder/649/0000.test.cpp
 verify/yukicoder/738/0000.test.cpp verify/yukicoder/738/0000.test.cpp
 verify/yukicoder/789/0000.test.cpp verify/yukicoder/789/0000.test.cpp
 verify/yukicoder/789/0001.test.cpp verify/yukicoder/789/0001.test.cpp
Code
#pragma once
#include <limits>
#include <type_traits>
#include "snippet/internal/types.hpp"
#include "internal/dev_env.hpp"
namespace uni {
template<class T>
struct numeric_limits : std::numeric_limits<T> {
    static constexpr long double FLOAT_EPSILON = 1E-14;
    static constexpr T arithmetic_infinity() noexcept(NO_EXCEPT) {
        return std::numeric_limits<T>::max() / 2 - 1;
    }
    static constexpr T arithmetic_negative_infinity() noexcept(NO_EXCEPT) {
        return std::numeric_limits<T>::lowest() / 2 + 1;
    }
    static constexpr T arithmetic_epsilon() noexcept(NO_EXCEPT) {
        if constexpr(std::is_floating_point_v<T>) {
            return numeric_limits::FLOAT_EPSILON;
        }
        else {
            return 0;
        }
    }
};
constexpr i32 INF32 = numeric_limits<i32>::arithmetic_infinity();
constexpr i64 INF64 = numeric_limits<i64>::arithmetic_infinity();
template<class T>
constexpr T INF = numeric_limits<T>::arithmetic_infinity();
template<class T>
constexpr T EPSILON = numeric_limits<T>::arithmetic_epsilon();
} // namespace uni#line 2 "numeric/limits.hpp"
#include <limits>
#include <type_traits>
#line 2 "snippet/internal/types.hpp"
#include <cstdint>
namespace uni {
using i16 = std::int16_t;
using u16 = std::uint16_t;
using i32 = std::int32_t;
using u32 = std::uint32_t;
using i64 = std::int64_t;
using u64 = std::uint64_t;
#ifdef __GNUC__
using i128 = __int128_t;
using u128 = __uint128_t;
using f128 = __float128;
#endif
using uint = unsigned;
using ll = long long;
using ull = unsigned long long;
using ld = long double;
} // namespace uni
#line 9 "numeric/limits.hpp"
#line 2 "internal/dev_env.hpp"
#ifdef LOCAL_JUDGE
    inline constexpr bool DEV_ENV = true;
    inline constexpr bool NO_EXCEPT = false;
#else
    inline constexpr bool DEV_ENV = false;
    inline constexpr bool NO_EXCEPT = true;
#endif // LOCAL_JUDGE
#if __cplusplus >= 202100L
    #define CPP20 true
    #define CPP23 true
#elif __cplusplus >= 202002L
    #define CPP20 true
    #define CPP23 false
#else
    #define CPP20 false
    #define CPP23 false
#endif
#line 11 "numeric/limits.hpp"
namespace uni {
template<class T>
struct numeric_limits : std::numeric_limits<T> {
    static constexpr long double FLOAT_EPSILON = 1E-14;
    static constexpr T arithmetic_infinity() noexcept(NO_EXCEPT) {
        return std::numeric_limits<T>::max() / 2 - 1;
    }
    static constexpr T arithmetic_negative_infinity() noexcept(NO_EXCEPT) {
        return std::numeric_limits<T>::lowest() / 2 + 1;
    }
    static constexpr T arithmetic_epsilon() noexcept(NO_EXCEPT) {
        if constexpr(std::is_floating_point_v<T>) {
            return numeric_limits::FLOAT_EPSILON;
        }
        else {
            return 0;
        }
    }
};
constexpr i32 INF32 = numeric_limits<i32>::arithmetic_infinity();
constexpr i64 INF64 = numeric_limits<i64>::arithmetic_infinity();
template<class T>
constexpr T INF = numeric_limits<T>::arithmetic_infinity();
template<class T>
constexpr T EPSILON = numeric_limits<T>::arithmetic_epsilon();
} // namespace uni