On 3/16/24 11:24, Saki Takamachi wrote: > Hi, > > After thinking about it, this could be done in userland. I'll try creating a > library myself first. > > Regards. > > Saki
Hi Saki One advantage of a new API is that it could be more efficient than the current API. The current API takes input as strings and outputs strings as a result, and therefore always has to reconstruct the BCMath internal state. By keeping everything inside an object you could keep the internal state, improving performance. Whether it makes a difference in practice, I don't know. Kind regards Niels
