diff git a/src/system/libroot/posix/stdlib/div.c b/src/system/libroot/posix/stdlib/div.c
index 723a315..50b61a0 100644
a

b

div(int numerator, int denominator) 
16  16  div_t val; 
17  17  
18  18  val.quot = numerator / denominator; 
19   val.rem = numerator  denominator * val.quot; 
 19  val.rem = numerator % denominator; 
20  20  
21   if (val.rem > 0 && val.quot < 0) { 
 21  if (numerator >= 0 && val.rem < 0) { 
22  22  val.rem = denominator; 
23  23  ++val.quot; 
24  24  } 
… 
… 
ldiv(long numerator, long denominator) 
33  33  ldiv_t val; 
34  34  
35  35  val.quot = numerator / denominator; 
36   val.rem = numerator  denominator * val.quot; 
 36  val.rem = numerator % denominator; 
37  37  
38   if (val.rem > 0 && val.quot < 0) { 
 38  if (numerator >= 0 && val.rem < 0) { 
39  39  val.rem = denominator; 
40  40  ++val.quot; 
41  41  } 
… 
… 
lldiv(long long numerator, long long denominator) 
50  50  lldiv_t val; 
51  51  
52  52  val.quot = numerator / denominator; 
53   val.rem = numerator  denominator * val.quot; 
 53  val.rem = numerator % denominator; 
54  54  
55   if (val.rem > 0 && val.quot < 0) { 
 55  if (numerator >= 0 && val.rem < 0) { 
56  56  val.rem = denominator; 
57  57  ++val.quot; 
58  58  } 