![]() |
|
The invdivinv() function divides an interval value by another interval value.
The invdivinv() function divides the interval value in i1 by i2, and stores the result in num. The result can be either positive or negative.
Both the input and output qualifiers must belong to the same interval class: either the year to month class or the day to fraction(5) class. If necessary, the invdivinv() function extends the interval value in i2 to match the qualifier for i1 before the division.
The demo directory contains this sample program in the file invdivinv.ec.