> Would adding a bcgetopts(): int and a bcsetopts(int $opts): void calls > be useful? > > At this time there's no way to influence bcmath's behavior other than > bcscale(). >
How about adding these as methods/properties to the `BcMath\Number` class? `BcMath\Number` does not use the `bcmath.scale` INI directive, and in my opinion, it is the correct way to do it. Everything that affects the operations are just there in the code, and there is no hidden global state.