xref: /csrg-svn/lib/libc/quad/udivdi3.c (revision 61160)
153446Sbostic /*-
2*61160Sbostic  * Copyright (c) 1992, 1993
3*61160Sbostic  *	The Regents of the University of California.  All rights reserved.
453446Sbostic  *
553794Sbostic  * This software was developed by the Computer Systems Engineering group
653794Sbostic  * at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and
753794Sbostic  * contributed to Berkeley.
853794Sbostic  *
953446Sbostic  * %sccs.include.redist.c%
1053446Sbostic  */
1153446Sbostic 
1253446Sbostic #if defined(LIBC_SCCS) && !defined(lint)
13*61160Sbostic static char sccsid[] = "@(#)udivdi3.c	8.1 (Berkeley) 06/04/93";
1453446Sbostic #endif /* LIBC_SCCS and not lint */
1553446Sbostic 
1653794Sbostic #include "quad.h"
1753459Sbostic 
1853794Sbostic /*
1953794Sbostic  * Divide two unsigned quads.
2053794Sbostic  */
2154431Sbostic u_quad_t
__udivdi3(a,b)2254431Sbostic __udivdi3(a, b)
2354431Sbostic 	u_quad_t a, b;
2453446Sbostic {
2553446Sbostic 
2654431Sbostic 	return (__qdivrem(a, b, (u_quad_t *)0));
2753446Sbostic }
28