Category : Files from Magazines
Archive   : CUJ9204.ZIP
Filename : 1004010D

 
Output of file : 1004010D contained in archive : CUJ9204.ZIP
/* ldiv function */
#include

ldiv_t (ldiv)(long numer, long denom)
{ /* compute long quotient and remainder */
ldiv_t val;

val.quot = numer / denom;
val.rem = numer - denom * val.quot;
if (val.quot < 0 && 0 < val.rem)
{ /* fix remainder with wrong sign */
val.quot += 1;
val.rem -= denom;
}
return (val);
}


  3 Responses to “Category : Files from Magazines
Archive   : CUJ9204.ZIP
Filename : 1004010D

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/