Simon Cozens wrote: > > On Sun, Nov 25, 2001 at 12:57:19AM -0500, Jeff G wrote: > > Along with testing in t/op/pmc.t > > Wait! This is all bogus. Not only do we need overflow checking, but > we also need to deal with the contingency that in, say, > > add P1, P2, P3 > > the "value" PMC may not be an integer, and hence we have to promote > everything.
Yes we do, and I agree, but I wasn't able to figure out how to load in the PerlNum class, which (obviously) is required in order to have something to promote to, so I stuck to testing and fixing integer operations. I'll see about numeric/string operations some time this week. > I've left the code in, updated to fit Angel's preprocessor, but this > is something we need to remember. > > -- > "If you want to travel around the world and be invited to speak at a lot > of different places, just write a Unix operating system." > (By Linus Torvalds)
