[Jprogramming] p- vs odot-Notation

Martin Kreuzer info at airkreuzer.com
Thu Apr 21 08:28:37 UTC 2016


Hi all -

Somewhere along the way I picked up this small expression:
    o.4 %~ i.5
0 0.785398 1.5708 2.35619 3.14159

Just for the fun of it, I tried building it from the ground up like this:
    (i.5) % 4
0 0.25 0.5 0.75 1
    1p1 * (i.5) % 4
0 0.785398 1.5708 2.35619 3.14159
    1p1 * 4 %~ (i.5)
0 0.785398 1.5708 2.35619 3.14159

I then bravely thought this would work as well
    4p1 %~ (i.5)
0 0.0795775 0.159155 0.238732 0.31831
    (4p1) %~ (i.5)
0 0.0795775 0.159155 0.238732 0.31831
but -unfortunately- it didn't ...

The "odot" page of NuVoc has given me the impression that the two 
should be interchangeable (despite maybe performance issues).

Spoilers: A newbie at work.
-M



More information about the Programming mailing list