1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License, Version 1.0 only
6 * (the "License").  You may not use this file except in compliance
7 * with the License.
8 *
9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 * or http://www.opensolaris.org/os/licensing.
11 * See the License for the specific language governing permissions
12 * and limitations under the License.
13 *
14 * When distributing Covered Code, include this CDDL HEADER in each
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 * If applicable, add the following below this CDDL HEADER, with the
17 * fields enclosed by brackets "[]" replaced with your own identifying
18 * information: Portions Copyright [yyyy] [name of copyright owner]
19 *
20 * CDDL HEADER END
21 */
22/*
23 * Copyright 1997 Sun Microsystems, Inc.  All rights reserved.
24 * Use is subject to license terms.
25 */
26
27/*	Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T	*/
28/*	  All Rights Reserved  	*/
29
30#ifndef _SYS_DL_H
31#define	_SYS_DL_H
32
33#pragma ident	"%Z%%M%	%I%	%E% SMI"
34
35#include <sys/isa_defs.h>
36
37#ifdef	__cplusplus
38extern "C" {
39#endif
40
41typedef	struct dl {
42#ifdef _LONG_LONG_LTOH
43	uint_t	dl_lop;
44	int	dl_hop;
45#else
46	int	dl_hop;
47	uint_t	dl_lop;
48#endif
49} dl_t;
50
51#ifdef __STDC__
52extern dl_t	ladd(dl_t, dl_t);
53extern dl_t	lsub(dl_t, dl_t);
54extern dl_t	lmul(dl_t, dl_t);
55extern dl_t	ldivide(dl_t, dl_t);
56extern dl_t	lshiftl(dl_t, int);
57extern dl_t	llog10(dl_t);
58extern dl_t	lexp10(dl_t);
59#else
60extern dl_t	ladd();
61extern dl_t	lsub();
62extern dl_t	lmul();
63extern dl_t	ldivide();
64extern dl_t	lshiftl();
65extern dl_t	llog10();
66extern dl_t	lexp10();
67#endif	/* __STDC__ */
68
69extern dl_t	lzero;
70extern dl_t	lone;
71extern dl_t	lten;
72
73#ifdef	__cplusplus
74}
75#endif
76
77#endif	/* _SYS_DL_H */
78