|
![](/i/fill.gif) |
Warp wrote in message <3a93e9f3@news.povray.org>...
>Wlodzimierz ABX Skiba <abx### [at] abx art pl> wrote:
>: multiplication has symetry
>: concatenation hasn't
>
> Your solution just multiplies I1 with the smallest multiple of 10 that
>is larger or equal to I2 and then adds I2 to the result.
>
> This is effectively the same as I1*I2+I2, the only difference being that
>instead of multiplying with a the smallest multiple of 10 which is larger
>or equal to I2, we are multplying with the smallest number which is larger
>or equal to I2, which is, of course, I2 itself.
> Now, I1*I2+I2 = (I1+1)*I2, and by all practical means this probably will
>not give a too different result than just I1*I2.
>
> That's why I think that I1*I2 will probably give an equally good result
>with less overhead.
there was big misunderstand in my thinking
I thought that
#declare A=seed(0);
#declare B=seed(0);
cause A=B
but I've checked it's not true
and that's why this not work as expected
ABX
Post a reply to this message
|
![](/i/fill.gif) |