scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | Submodules | README | LICENSE

lldiv.c (121B)


      1 #include <stdlib.h>
      2 
      3 #undef lldiv
      4 
      5 lldiv_t lldiv(long long num, long long den)
      6 {
      7 	return (lldiv_t) {num/den, num%den};
      8 }