Page 1 of 1

Mod ???

Posted: Sun Mar 04, 2001 12:00 am
by Willaim
Hello people,
Anyone know what is "mod" used for (like mathematically)
in a calculation of the size of a disk.
For example:
3.5" Diskette 1.44 Mbytes
Sector/Track = 1 + ( 2879 mod 18 ) = 18
But what does the "mod" in the equation stands for
anyways? Please help, thanks.

RE:Mod ???

Posted: Mon Mar 05, 2001 12:00 am
by Chase
>On 2001-03-04 17:15:31, Willaim wrote:
> Anyone know what is "mod" used for
> Sector/Track = 1 + ( 2879 mod 18 ) = 18

"mod" stand for modulus(think I spelled that right)
mod gives you the remainder after division of the largest
possibly integer.

example: 2879/18=159 Remainder 17
Sector/Track = 1 + (17) = 18