qdiv(3) - NetBSD Manual Pages

Command: Section: Arch: Collection:  
QDIV(3)                 NetBSD Library Functions Manual                QDIV(3)


NAME
qdiv -- return quotient and remainder from division
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <stdlib.h> qdiv_t qdiv(quad_t num, quad_t denom);
DESCRIPTION
The qdiv() function computes the value num/denom and returns the quotient and remainder in a structure named qdiv_t that contains two quad integer members named quot and rem.
SEE ALSO
div(3), imaxdiv(3), ldiv(3), lldiv(3), math(3) NetBSD 10.99 June 29, 1991 NetBSD 10.99
Powered by man-cgi (2024-03-20). Maintained for NetBSD by Kimmo Suominen. Based on man-cgi by Panagiotis Christias.