Skip to content

ldivlib

The 68000 cannot divide 32 bit numbers by itself. The compiler turns / on longs and quicks into calls of this library.

A division by 0 is not an error. It gives the largest number with the sign of the dividend: for longs, 5/0 and 0/0 give 2147483647 and -5/0 gives -2147483647.

Library number 64735.

This library declares no commands. Its routines are used by the compiler, by the code it generates or by other libraries.