hpux man page for lldiv

Query: lldiv

OS: hpux

Section: 3c

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

div(3C) 																   div(3C)

NAME
div(), ldiv(), lldiv(), imaxdiv() - integer division and remainder
SYNOPSIS
DESCRIPTION
Computes the quotient and remainder of the division of the numerator numer by the denominator denom. If the division is inexact, the sign of the resulting quotient is that of the algebraic quotient, and the magnitude of the resulting quotient is the largest integer less than the magnitude of the algebraic quo- tient. If the result can be represented, the result is returned in a structure of type (defined in having members quot and rem for the quotient and remainder respectively. Both members have type and values such that quot denom rem numer. If the result cannot be represented, the behavior is undefined. Similar to except that the arguments each have type and the result is returned in a structure of type (defined in having members quot and rem for the quotient and remainder respectively. Similar to except that the arguments each have type and the result is returned in a structure of type (defined in having members quot and rem for the quotient and remainder respectively. Similar to except that the arguments each have type and the result is returned in a structure of type (defined in having members quot and rem for the quotient and remainder respectively.
WARNINGS
Behavior is undefined if denom is zero.
SEE ALSO
floor(3M), thread_safety(5).
STANDARDS CONFORMANCE
div(3C)
Related Man Pages
div(3c) - opensolaris
imaxdiv(3c) - opensolaris
ldiv(3c) - opensolaris
lldiv(3c) - hpux
imaxdiv(3c) - sunos
Similar Topics in the Unix Linux Community
Bkdr_ircbot.rb
to create a export query from a file
connecting to table to extract multiple rows into file from unix script
awk - sed / reading from a data file and doing algebraic operations