mirror of
https://github.com/SEPPDROID/Digital-Research-Source-Code.git
synced 2025-10-23 08:24:18 +00:00
14 lines
173 B
C
14 lines
173 B
C
#include <stdio.h>
|
|
|
|
/* diviuision routine for long operands do not act correctly
|
|
for negative operands */
|
|
|
|
main()
|
|
{
|
|
long a, b;
|
|
|
|
a= -12;
|
|
b= -3;
|
|
printf("%ld\n", a/b);
|
|
}
|