cerevra / int

38 stars 6 forks source link

constexpr from_str causes compilers to exceed constexpr calculation limit #22

Open nickaleks opened 4 years ago

nickaleks commented 4 years ago

Tested on gcc 9.2.0 and clang9

Using literals on large numbers causes both compilers to exceed constexpr limit. Clang is able to compile when limit is set to about 4millions steps, as opposed to default value which is about 100 000.