[ISSUE] 大きい数値を入力したら、std::invalid_argument例外が発生する
iwatake2222 opened this issue · 0 comments
iwatake2222 commented
Describe the issue
9999999999999 + 1
を入力したら、std::invalid_argument例外が発生した
Expected behavior
999999999999 + 1 = 10000000000000
が出力されるはずである
Environment
- Hardware: PC
- CPU: Intel Core i7-11700 2.5GHz
- GPU: NVIDIA GeForce RTX 3060 Ti
- OS: 5.10.16.3-microsoft-standard-WSL2 (WSL2 in Windows11)
- Commit id: 5bc66fe , alpha version
To Reproduce
Steps to reproduce the behavior:
- アプリ (main.exe) を実行する
>
9999999999999 + 1
を入力する- 結果を確認する
Build Command
mkdir -p build && cd build
cmake ..
make
Log
iwatake@iwatake_desktop:/mnt/c/iwatake/devel/devel/cpp_project_in_github/build$ ./main
>9999999999999 + 1
terminate called after throwing an instance of 'std::invalid_argument'
what(): Unsupported op: [
Aborted
Screenshots
None
Additional context
999999999 + 1 = 1000000000
はOK