You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@Shaikh-Ubaid I think we should support the conversion mechanism which intrinsic_int uses, for all the integer types we have. My main concern is that doing i32(int("12345")) is counterintuitive.
The conversion mechanism for int needs to be improved too. It currently relies on std::stoi() and fails for anything larger than that. We only have to improve the BigInt library we already have.
Activity
ubaidsk commentedon Mar 17, 2024
It looks like we already have some support for string to int conversion.
ubaidsk commentedon Mar 17, 2024
I think we just need to polish the existing support.
kmr-srbh commentedon Mar 25, 2024
@Shaikh-Ubaid I think we should support the conversion mechanism which
intrinsic_intuses, for all the integer types we have. My main concern is that doingi32(int("12345"))is counterintuitive.kmr-srbh commentedon Mar 25, 2024
The conversion mechanism for
intneeds to be improved too. It currently relies onstd::stoi()and fails for anything larger than that. We only have to improve theBigIntlibrary we already have.