OSDev.org

The Place to Start for Operating System Developers
It is currently Wed Apr 24, 2024 3:18 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Mod ???
PostPosted: Sun Mar 04, 2001 12:00 am 
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.


Top
  
 
 Post subject: RE:Mod ???
PostPosted: Mon Mar 05, 2001 12:00 am 
>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


Top
  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: Bing [Bot], DotBot [Bot], Google [Bot] and 118 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group