RE: floor op

2003-09-04 Thread Burnett, David
From: Lars Balker Rasmussen [mailto:[EMAIL PROTECTED] "Burnett, David" <[EMAIL PROTECTED]> writes: >> the idea of having a 'floor' op. >I've implemented an op for floor on native numbers. Feel free to >give it a whirl. (I'm not sure if floor(-0

Re: floor op

2003-09-03 Thread Lars Balker Rasmussen
"Burnett, David" <[EMAIL PROTECTED]> writes: > I asked how to 'floor' in parrot on IRC last night, and this raised the > the idea of having a 'floor' op. I was then asked to email a reminder here > so here it is. I've implemented an op for floo

floor op

2003-09-03 Thread Burnett, David
I asked how to 'floor' in parrot on IRC last night, and this raised the the idea of having a 'floor' op. I was then asked to email a reminder here so here it is. I have worked around the lack of rounding by dubiously using mod N1, N0, 1 sub N0, N1 which appears to be more