]> git.ipfire.org Git - thirdparty/glibc.git/blame - sysdeps/ieee754/dbl-64/mydefs.h
Update copyright dates with scripts/update-copyrights
[thirdparty/glibc.git] / sysdeps / ieee754 / dbl-64 / mydefs.h
CommitLineData
e4d82761
UD
1/*
2 * IBM Accurate Mathematical Library
581c785b 3 * Copyright (C) 2001-2022 Free Software Foundation, Inc.
e4d82761
UD
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU Lesser General Public License as published by
cc7375ce 7 * the Free Software Foundation; either version 2.1 of the License, or
e4d82761 8 * (at your option) any later version.
c6c6dd48 9 *
e4d82761
UD
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
c6c6dd48 13 * GNU Lesser General Public License for more details.
e4d82761
UD
14 *
15 * You should have received a copy of the GNU Lesser General Public License
5a82c748 16 * along with this program; if not, see <https://www.gnu.org/licenses/>.
e4d82761 17 */
c6c6dd48 18
e4d82761
UD
19/******************************************************************/
20/* */
21/* MODULE_NAME:mydefs.h */
22/* */
23/* common data and definition */
24/******************************************************************/
25
26#ifndef MY_H
27#define MY_H
28
29typedef int int4;
476d692e 30typedef union { int4 i[2]; double x; double d; } mynumber;
e4d82761 31
c5d5d574
OB
32#define max(x, y) (((y) > (x)) ? (y) : (x))
33#define min(x, y) (((y) < (x)) ? (y) : (x))
e4d82761 34#endif