Max Alekseyev on Fri, 28 Oct 2022 22:15:28 +0200

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

arithmetic operations with t_INFINITY

It seems reasonable to expect that "123 + oo" or "-567 * oo" should evaluate in "+oo" and "-oo", respectively, but at the moment they both result in the "forbidden" error.
Can support of basic arithmetic operations for t_INFINITY be added? Of course, undefined operations such as "oo - oo" should still produce an error.
Thank you!