ayaankhan98 / bigINT

Efficient OpenSource Big Integer(Library) Support for C++
Boost Software License 1.0
6 stars 26 forks source link

Issues with constructor with string in largeInt class #45

Closed yashsoni501 closed 4 years ago

yashsoni501 commented 4 years ago

Describe the bug When a largeInt object is initialized with a string of negative integer, then it prints double - sign when printed with cout.

To Reproduce Steps to reproduce the behavior: largeInt d("-234"); cout<<d<<endl;

Expected behavior Output should be -234 but the output is --234