On Sat, Feb 01, 2025 at 08:01:18PM +0000, Pádraig Brady wrote: > With -w seq will use long doubles internally, > which usually have a 64 bit significand. > I.e. once you go above 2^64, you get approximations of integers. > > Now we could adjust seq to use the "ASCII" increment method > in this case by handling leading zeros appropriately. > It would be good to know your use case here though, > as to know how common this issue might be.
The usecase is using GNU seq as reference implementation. :^) I'd do decimal fixed point. Given that seq only does addition it won't be that bad.