« Return to Thread: modular arithmatic in pipmak

modular arithmatic in pipmak

by chikitin :: Rate this Message:

Reply to Author | View in Thread

Hi,

I was reading the lua's online manual. i was looking for the mod function ( as % in C++)  I found these:

math.fmod (x, y) and also
bit.mod(a,b) - returns the integer remainder of a divided by b

http://www.wowwiki.com/Lua_functions

but niether of them work in pipmak. Is there a mod function in pipmak?

thanks in advance!

cs

 « Return to Thread: modular arithmatic in pipmak