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 acurrate than simply truncating by

set I0, N0

for my value range.

So I now I have a working my perlin noise (with turbulence) implementation
written in pure pasm :-)

Dave




==========================================================================
Information in this email and any attachments are confidential, and may
not be copied or used by anyone other than the addressee, nor disclosed
to any third party without our permission. There is no intention to
create any legally binding contract or other binding commitment through
the use of this electronic communication unless it is issued in accordance
with the Experian Limited standard terms and conditions of purchase or
other express written agreement between Experian Limited and the recipient
Experian Limited (registration number 653331)
Registered office: Talbot House, Talbot Street, Nottingham NG1 5HF

Reply via email to