Deleted Added
full compact
tgmath.h (208954) tgmath.h (226633)
1/*===---- tgmath.h - Standard header for type generic math ----------------===*\
2 *
3 * Copyright (c) 2009 Howard Hinnant
4 *
5 * Permission is hereby granted, free of charge, to any person obtaining a copy
6 * of this software and associated documentation files (the "Software"), to deal
7 * in the Software without restriction, including without limitation the rights
8 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell

--- 1035 unchanged lines hidden (view full) ---

1044#undef nextafter
1045#define nextafter(__x, __y) __tg_nextafter(__tg_promote2((__x), (__y))(__x), \
1046 __tg_promote2((__x), (__y))(__y))
1047
1048// nexttoward
1049
1050static float
1051 _TG_ATTRS
1/*===---- tgmath.h - Standard header for type generic math ----------------===*\
2 *
3 * Copyright (c) 2009 Howard Hinnant
4 *
5 * Permission is hereby granted, free of charge, to any person obtaining a copy
6 * of this software and associated documentation files (the "Software"), to deal
7 * in the Software without restriction, including without limitation the rights
8 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell

--- 1035 unchanged lines hidden (view full) ---

1044#undef nextafter
1045#define nextafter(__x, __y) __tg_nextafter(__tg_promote2((__x), (__y))(__x), \
1046 __tg_promote2((__x), (__y))(__y))
1047
1048// nexttoward
1049
1050static float
1051 _TG_ATTRS
1052 __tg_nexttoward(float __x, float __y) {return nexttowardf(__x, __y);}
1052 __tg_nexttoward(float __x, long double __y) {return nexttowardf(__x, __y);}
1053
1054static double
1055 _TG_ATTRS
1053
1054static double
1055 _TG_ATTRS
1056 __tg_nexttoward(double __x, double __y) {return nexttoward(__x, __y);}
1056 __tg_nexttoward(double __x, long double __y) {return nexttoward(__x, __y);}
1057
1058static long double
1059 _TG_ATTRS
1060 __tg_nexttoward(long double __x, long double __y) {return nexttowardl(__x, __y);}
1061
1062#undef nexttoward
1057
1058static long double
1059 _TG_ATTRS
1060 __tg_nexttoward(long double __x, long double __y) {return nexttowardl(__x, __y);}
1061
1062#undef nexttoward
1063#define nexttoward(__x, __y) __tg_nexttoward(__tg_promote2((__x), (__y))(__x), \
1064 __tg_promote2((__x), (__y))(__y))
1063#define nexttoward(__x, __y) __tg_nexttoward(__tg_promote1((__x))(__x), (__y))
1065
1066// remainder
1067
1068static float
1069 _TG_ATTRS
1070 __tg_remainder(float __x, float __y) {return remainderf(__x, __y);}
1071
1072static double

--- 286 unchanged lines hidden ---
1064
1065// remainder
1066
1067static float
1068 _TG_ATTRS
1069 __tg_remainder(float __x, float __y) {return remainderf(__x, __y);}
1070
1071static double

--- 286 unchanged lines hidden ---