Thanks for the tip. I put in an example that ChatGPT completely failed at and phind eventually got the right answer.
Oddly it went off on a tangent about how the problem can't be solved in Python, which I never mentioned.
But when I explicitly told it I wanted c++ it gave a decent answer.
It did, however, get some nuances seriously wrong.
> Precision loss for large integers: When encoding to JSON, UInt64 and Int64 are encoded as strings of base-10 digits in ASCII, since JavaScript's numeric type only affords 53 bits of precision. This means that large integers might lose precision when converted to JSON.
Oddly it went off on a tangent about how the problem can't be solved in Python, which I never mentioned.
But when I explicitly told it I wanted c++ it gave a decent answer.
It did, however, get some nuances seriously wrong.
> Precision loss for large integers: When encoding to JSON, UInt64 and Int64 are encoded as strings of base-10 digits in ASCII, since JavaScript's numeric type only affords 53 bits of precision. This means that large integers might lose precision when converted to JSON.
https://www.phind.com/search?cache=319c7cf5-65e4-4704-a8f3-0...