/dports/science/gromacs/gromacs-2021.4/src/external/tng_io/src/compression/ |
H A D | fixpoint.c | 27 if (d>max) in Ptngc_ud_to_fix_t() 28 d=max; in Ptngc_ud_to_fix_t() 39 int sign=0; in Ptngc_d_to_fix_t() local 42 sign=1; in Ptngc_d_to_fix_t() 45 if (d>max) in Ptngc_d_to_fix_t() 46 d=max; in Ptngc_d_to_fix_t() 50 if (sign) in Ptngc_d_to_fix_t() 65 int sign=0; in Ptngc_fix_t_to_d() local 73 if (sign) in Ptngc_fix_t_to_d() 98 if (sign) in Ptngc_d_to_i32x2() [all …]
|
/dports/lang/gcc9-devel/gcc-9-20211007/gcc/ |
H A D | wide-int-range.cc | 136 max = wi::max (w1, w3, sign); in wide_int_range_order_set() 563 wmin = wi::max (wmin, vr0_min, sign); in wide_int_range_bit_ior() 564 wmin = wi::max (wmin, vr1_min, sign); in wide_int_range_bit_ior() 570 wmin = wi::max (wmin, vr0_min, sign); in wide_int_range_bit_ior() 572 wmin = wi::max (wmin, vr1_min, sign); in wide_int_range_bit_ior() 690 max = vr0_max; in wide_int_range_abs() 716 if (wi::gt_p (min, max, sign)) in wide_int_range_abs() 717 max = min; in wide_int_range_abs() 723 if (wi::gt_p (min, max, sign)) in wide_int_range_abs() 730 if (wi::gt_p (min, max, sign)) in wide_int_range_abs() [all …]
|
H A D | wide-int-range.h | 30 signop sign, 105 extern bool wide_int_range_abs (wide_int &min, wide_int &max, 110 extern void wide_int_range_absu (wide_int &min, wide_int &max, 114 extern bool wide_int_range_convert (wide_int &min, wide_int &max, 137 const wide_int &min, const wide_int &max) in wide_int_range_shift_undefined_p() argument 147 return wi::lt_p (min, 0, sign) || wi::ge_p (max, prec, sign); in wide_int_range_shift_undefined_p() 153 wide_int_range_min_max (wide_int &min, wide_int &max, in wide_int_range_min_max() argument 161 wide_int_binop (max, code, vr0_max, vr1_max, sign, &overflow); in wide_int_range_min_max() 165 && max == wi::max_value (prec, sign)) in wide_int_range_min_max() 174 signop sign) in wide_int_range_includes_zero_p() argument [all …]
|
/dports/lang/gcc9/gcc-9.4.0/gcc/ |
H A D | wide-int-range.cc | 136 max = wi::max (w1, w3, sign); in wide_int_range_order_set() 563 wmin = wi::max (wmin, vr0_min, sign); in wide_int_range_bit_ior() 564 wmin = wi::max (wmin, vr1_min, sign); in wide_int_range_bit_ior() 570 wmin = wi::max (wmin, vr0_min, sign); in wide_int_range_bit_ior() 572 wmin = wi::max (wmin, vr1_min, sign); in wide_int_range_bit_ior() 690 max = vr0_max; in wide_int_range_abs() 716 if (wi::gt_p (min, max, sign)) in wide_int_range_abs() 717 max = min; in wide_int_range_abs() 723 if (wi::gt_p (min, max, sign)) in wide_int_range_abs() 730 if (wi::gt_p (min, max, sign)) in wide_int_range_abs() [all …]
|
H A D | wide-int-range.h | 30 signop sign, 105 extern bool wide_int_range_abs (wide_int &min, wide_int &max, 110 extern void wide_int_range_absu (wide_int &min, wide_int &max, 114 extern bool wide_int_range_convert (wide_int &min, wide_int &max, 137 const wide_int &min, const wide_int &max) in wide_int_range_shift_undefined_p() argument 147 return wi::lt_p (min, 0, sign) || wi::ge_p (max, prec, sign); in wide_int_range_shift_undefined_p() 153 wide_int_range_min_max (wide_int &min, wide_int &max, in wide_int_range_min_max() argument 161 wide_int_binop (max, code, vr0_max, vr1_max, sign, &overflow); in wide_int_range_min_max() 165 && max == wi::max_value (prec, sign)) in wide_int_range_min_max() 174 signop sign) in wide_int_range_includes_zero_p() argument [all …]
|
/dports/lang/gcc9-aux/gcc-9.1.0/gcc/ |
H A D | wide-int-range.cc | 136 max = wi::max (w1, w3, sign); in wide_int_range_order_set() 563 wmin = wi::max (wmin, vr0_min, sign); in wide_int_range_bit_ior() 564 wmin = wi::max (wmin, vr1_min, sign); in wide_int_range_bit_ior() 570 wmin = wi::max (wmin, vr0_min, sign); in wide_int_range_bit_ior() 572 wmin = wi::max (wmin, vr1_min, sign); in wide_int_range_bit_ior() 690 max = vr0_max; in wide_int_range_abs() 716 if (wi::gt_p (min, max, sign)) in wide_int_range_abs() 717 max = min; in wide_int_range_abs() 723 if (wi::gt_p (min, max, sign)) in wide_int_range_abs() 730 if (wi::gt_p (min, max, sign)) in wide_int_range_abs() [all …]
|
H A D | wide-int-range.h | 30 signop sign, 105 extern bool wide_int_range_abs (wide_int &min, wide_int &max, 110 extern void wide_int_range_absu (wide_int &min, wide_int &max, 114 extern bool wide_int_range_convert (wide_int &min, wide_int &max, 137 const wide_int &min, const wide_int &max) in wide_int_range_shift_undefined_p() argument 147 return wi::lt_p (min, 0, sign) || wi::ge_p (max, prec, sign); in wide_int_range_shift_undefined_p() 153 wide_int_range_min_max (wide_int &min, wide_int &max, in wide_int_range_min_max() argument 161 wide_int_binop (max, code, vr0_max, vr1_max, sign, &overflow); in wide_int_range_min_max() 165 && max == wi::max_value (prec, sign)) in wide_int_range_min_max() 174 signop sign) in wide_int_range_includes_zero_p() argument [all …]
|
/dports/graphics/mandelbulber/mandelbulber2-2.26/mandelbulber2/formula/definition/ |
H A D | fractal_octahedron.cpp | 44 z.x -= sign(z.x) * max(1.0 * sign(a.x - max(a.y, a.z)), limitA) * sizer1; in FormulaCode() 45 z.y -= sign(z.y) * max(1.0 * sign(a.y - max(a.z, a.x)), limitA) * sizer1; in FormulaCode() 46 z.z -= sign(z.z) * max(1.0 * sign(a.z - max(a.x, a.y)), limitA) * sizer1; in FormulaCode() 55 z.x -= sign(z.x) * max(1.0 * sign(a.x - min(a.y, a.z)), limitB) * sizer2; in FormulaCode() 56 z.y -= sign(z.y) * max(1.0 * sign(a.y - min(a.z, a.x)), limitB) * sizer2; in FormulaCode() 57 z.z -= sign(z.z) * max(1.0 * sign(a.z - min(a.x, a.y)), limitB) * sizer2; in FormulaCode() 68 d2 = max(a.x, max(a.y, a.z)) - b * fractal->transformCommon.scaleD1; in FormulaCode() 72 d2 = max(d2, -d) / fabs(aux.DE); in FormulaCode() 83 colorAdd += fractal->foldColor.difs0000.y * max(a.x, max(a.y, a.z)); in FormulaCode()
|
/dports/games/stendhal/stendhal-1.35/src/games/stendhal/server/entity/npc/action/ |
H A D | LoadSignFromHallOfFameAction.java | 37 private Sign sign; field in LoadSignFromHallOfFameAction 40 private final int max; field in LoadSignFromHallOfFameAction 57 …public LoadSignFromHallOfFameAction(Sign sign, String introduction, String fametype, int max, bool… in LoadSignFromHallOfFameAction() argument 58 this.sign = sign; in LoadSignFromHallOfFameAction() 61 this.max = max; in LoadSignFromHallOfFameAction() 67 if (sign != null) { in fire() 69 sign, introduction, fametype, max, ascending, false); in fire() 81 this.sign = sign; in setSign() 91 result = prime * result + max; in hashCode() 110 if (max != other.max) { in equals() [all …]
|
/dports/graphics/flif/FLIF-0.3-96-g74ea92b/src/maniac/ |
H A D | symbol_enc.hpp | 25 max -= min; in write_int() 31 int med = max/2; in write_int() 52 assert(min<=max); in writer() 54 assert(value<=max); in writer() 69 int sign = (value > 0 ? 1 : 0); in writer() local 72 coder.write(sign,BIT_SIGN); in writer() 74 if (sign) min = 1; in writer() 75 if (!sign) max = -1; in writer() 78 int amin = sign ? abs(min) : abs(max); in writer() 79 int amax = sign ? abs(max) : abs(min); in writer() [all …]
|
/dports/audio/audacity/audacity-Audacity-3.1.3/src/tracks/playabletrack/wavetrack/ui/ |
H A D | WaveformVRulerControls.cpp | 200 float sign = (min >= 0 ? 1 : -1); in DoUpdateVRuler() local 205 min *= sign; in DoUpdateVRuler() 207 sign = (max >= 0 ? 1 : -1); in DoUpdateVRuler() 213 max *= sign; in DoUpdateVRuler() 243 float sign = (min >= 0 ? 1 : -1); in DoUpdateVRuler() local 248 min *= sign; in DoUpdateVRuler() 250 sign = (max >= 0 ? 1 : -1); in DoUpdateVRuler() 256 max *= sign; in DoUpdateVRuler() 268 const float sign = (max >= 0 ? 1 : -1); in DoUpdateVRuler() local 279 newMax = sign * std::max(ZOOMLIMIT, (dBRange + dB) / dBRange); in DoUpdateVRuler() [all …]
|
/dports/graphics/mandelbulber/mandelbulber2-2.26/mandelbulber2/formula/opencl/ |
H A D | octahedron.cl | 33 z.x -= sign(z.x) * max(1.0f * sign(a.x - max(a.y, a.z)), limitA) * sizer1; 34 z.y -= sign(z.y) * max(1.0f * sign(a.y - max(a.z, a.x)), limitA) * sizer1; 35 z.z -= sign(z.z) * max(1.0f * sign(a.z - max(a.x, a.y)), limitA) * sizer1; 44 z.x -= sign(z.x) * max(1.0f * sign(a.x - min(a.y, a.z)), limitB) * sizer2; 45 z.y -= sign(z.y) * max(1.0f * sign(a.y - min(a.z, a.x)), limitB) * sizer2; 46 z.z -= sign(z.z) * max(1.0f * sign(a.z - min(a.x, a.y)), limitB) * sizer2; 57 d2 = max(a.x, max(a.y, a.z)) - b * fractal->transformCommon.scaleD1; 61 d2 = max(d2, -d) / fabs(aux->DE); 72 colorAdd += fractal->foldColor.difs0000.y * max(a.x, max(a.y, a.z));
|
/dports/math/e-antic/flint2-ae7ec89/fmpz_poly_mat/ |
H A D | max_bits.c | 20 slong i, j, bits, max; in fmpz_poly_mat_max_bits() local 21 int sign; in fmpz_poly_mat_max_bits() local 23 max = 0; in fmpz_poly_mat_max_bits() 24 sign = 0; in fmpz_poly_mat_max_bits() 34 sign = 1; in fmpz_poly_mat_max_bits() 35 max = FLINT_MAX(max, -bits); in fmpz_poly_mat_max_bits() 38 max = FLINT_MAX(max, bits); in fmpz_poly_mat_max_bits() 42 return sign ? -max : max; in fmpz_poly_mat_max_bits()
|
/dports/math/e-antic/e-antic-1.0.0-rc.13/libeantic/upstream/antic/fmpz_poly_mat/ |
H A D | max_bits.c | 20 slong i, j, bits, max; in fmpz_poly_mat_max_bits() local 21 int sign; in fmpz_poly_mat_max_bits() local 23 max = 0; in fmpz_poly_mat_max_bits() 24 sign = 0; in fmpz_poly_mat_max_bits() 34 sign = 1; in fmpz_poly_mat_max_bits() 35 max = FLINT_MAX(max, -bits); in fmpz_poly_mat_max_bits() 38 max = FLINT_MAX(max, bits); in fmpz_poly_mat_max_bits() 42 return sign ? -max : max; in fmpz_poly_mat_max_bits()
|
/dports/math/flint2/flint-2.8.4/fmpz_poly_mat/ |
H A D | max_bits.c | 20 slong i, j, bits, max; in fmpz_poly_mat_max_bits() local 21 int sign; in fmpz_poly_mat_max_bits() local 23 max = 0; in fmpz_poly_mat_max_bits() 24 sign = 0; in fmpz_poly_mat_max_bits() 34 sign = 1; in fmpz_poly_mat_max_bits() 35 max = FLINT_MAX(max, -bits); in fmpz_poly_mat_max_bits() 38 max = FLINT_MAX(max, bits); in fmpz_poly_mat_max_bits() 42 return sign ? -max : max; in fmpz_poly_mat_max_bits()
|
/dports/audio/wolf-shaper-lv2/wolf-shaper-0.1.8-33-ge84de58/plugins/wolf-shaper/Utils/src/ |
H A D | Mathf.cpp | 11 return std::max(min, std::min(value, max)); 38 const float b = std::log(max / min) / (max - min); in logScale() 39 const float a = max / std::exp(max * b); in logScale() 52 const float a = max / std::exp(max * b); in invLogScale() 239 const char sign = value < 0 ? '-' : '\0'; in toHexFloat() local 265 if (sign) in toHexFloat() 266 length = std::sprintf(buffer, "%c0x", sign); in toHexFloat() 342 double sign; in parseHexFloat() local 346 sign = -1.0; in parseHexFloat() 351 sign = 1.0; in parseHexFloat() [all …]
|
/dports/audio/openal-soft/openal-soft-1.21.1/common/ |
H A D | alnumeric.h | 151 int sign, shift, mant; in float2int() 158 sign = (conv.i>>31) | 1; in float2int() 167 return (mant >> -shift) * sign; in float2int() 168 return (mant << shift) * sign; in float2int() 187 int sign, shift; in double2int() 195 sign = (conv.i64 >> 63) | 1; in double2int() 205 return (int)(mant << shift) * sign; in double2int() 242 unsigned int sign, expo; in fast_roundf() 249 sign = (conv.i>>31)&0x01; in fast_roundf() 269 f += ilim[sign]; in fast_roundf() [all …]
|
/dports/science/ergo/ergo-3.8/source/matrix/ |
H A D | bisection.h | 48 inline int sign(Treal value) { in sign() function 70 Treal bisection(Tfun const & fun, Treal min, Treal max, Treal const tol) { in bisection() argument 71 int sign_min = sign(fun.eval(min)); in bisection() 72 int sign_max = sign(fun.eval(max)); in bisection() 76 Treal middle = (max + min) / 2; in bisection() 77 int sign_middle = sign(fun.eval(middle)); in bisection() 78 while (template_blas_fabs(max - min) > tol * 2 && sign_middle != 0) { in bisection() 84 max = middle; in bisection() 87 middle = (max + min) / 2; in bisection() 88 sign_middle = sign(fun.eval(middle)); in bisection()
|
/dports/lang/gcc10/gcc-10.3.0/libphobos/src/std/ |
H A D | bigint.d | 793 …(data.ulongLength == 1 && (data.peekUlong(0) <= sign+cast(ulong)(long.max)) // 1+long.max = |long… in toLong() 795 : long.max); in toLong() 813 … (data.uintLength == 1 && (data.peekUint(0) <= sign+cast(uint)(int.max)) // 1+int.max = |int.min| in toInt() 815 : int.max); in toInt() 1184 auto b = -long.max % a; 1185 assert( b == -long.max % (ulong.max - 5)); 1186 b = long.max / a; 1187 assert( b == long.max /(ulong.max - 5)); 1589 assert((x1 * T.max) / T.max == x1); 1590 assert((x2 * T.max) / T.max == x2); [all …]
|
/dports/lang/gcc11-devel/gcc-11-20211009/libphobos/src/std/ |
H A D | bigint.d | 793 …(data.ulongLength == 1 && (data.peekUlong(0) <= sign+cast(ulong)(long.max)) // 1+long.max = |long… in toLong() 795 : long.max); in toLong() 813 … (data.uintLength == 1 && (data.peekUint(0) <= sign+cast(uint)(int.max)) // 1+int.max = |int.min| in toInt() 815 : int.max); in toInt() 1184 auto b = -long.max % a; 1185 assert( b == -long.max % (ulong.max - 5)); 1186 b = long.max / a; 1187 assert( b == long.max /(ulong.max - 5)); 1589 assert((x1 * T.max) / T.max == x1); 1590 assert((x2 * T.max) / T.max == x2); [all …]
|
/dports/devel/avr-gcc/gcc-10.2.0/libphobos/src/std/ |
H A D | bigint.d | 793 …(data.ulongLength == 1 && (data.peekUlong(0) <= sign+cast(ulong)(long.max)) // 1+long.max = |long… in toLong() 795 : long.max); in toLong() 813 … (data.uintLength == 1 && (data.peekUint(0) <= sign+cast(uint)(int.max)) // 1+int.max = |int.min| in toInt() 815 : int.max); in toInt() 1184 auto b = -long.max % a; 1185 assert( b == -long.max % (ulong.max - 5)); 1186 b = long.max / a; 1187 assert( b == long.max /(ulong.max - 5)); 1589 assert((x1 * T.max) / T.max == x1); 1590 assert((x2 * T.max) / T.max == x2); [all …]
|
/dports/lang/gcc9-devel/gcc-9-20211007/libphobos/src/std/ |
H A D | bigint.d | 793 …(data.ulongLength == 1 && (data.peekUlong(0) <= sign+cast(ulong)(long.max)) // 1+long.max = |long… in toLong() 795 : long.max); in toLong() 813 … (data.uintLength == 1 && (data.peekUint(0) <= sign+cast(uint)(int.max)) // 1+int.max = |int.min| in toInt() 815 : int.max); in toInt() 1184 auto b = -long.max % a; 1185 assert( b == -long.max % (ulong.max - 5)); 1186 b = long.max / a; 1187 assert( b == long.max /(ulong.max - 5)); 1589 assert((x1 * T.max) / T.max == x1); 1590 assert((x2 * T.max) / T.max == x2); [all …]
|
/dports/lang/gcc9-aux/gcc-9.1.0/libphobos/src/std/ |
H A D | bigint.d | 793 …(data.ulongLength == 1 && (data.peekUlong(0) <= sign+cast(ulong)(long.max)) // 1+long.max = |long… in toLong() 795 : long.max); in toLong() 813 … (data.uintLength == 1 && (data.peekUint(0) <= sign+cast(uint)(int.max)) // 1+int.max = |int.min| in toInt() 815 : int.max); in toInt() 1184 auto b = -long.max % a; 1185 assert( b == -long.max % (ulong.max - 5)); 1186 b = long.max / a; 1187 assert( b == long.max /(ulong.max - 5)); 1589 assert((x1 * T.max) / T.max == x1); 1590 assert((x2 * T.max) / T.max == x2); [all …]
|
/dports/lang/gcc11/gcc-11.2.0/libphobos/src/std/ |
H A D | bigint.d | 793 …(data.ulongLength == 1 && (data.peekUlong(0) <= sign+cast(ulong)(long.max)) // 1+long.max = |long… in toLong() 795 : long.max); in toLong() 813 … (data.uintLength == 1 && (data.peekUint(0) <= sign+cast(uint)(int.max)) // 1+int.max = |int.min| in toInt() 815 : int.max); in toInt() 1184 auto b = -long.max % a; 1185 assert( b == -long.max % (ulong.max - 5)); 1186 b = long.max / a; 1187 assert( b == long.max /(ulong.max - 5)); 1589 assert((x1 * T.max) / T.max == x1); 1590 assert((x2 * T.max) / T.max == x2); [all …]
|
/dports/misc/cxx_atomics_pic/gcc-11.2.0/libphobos/src/std/ |
H A D | bigint.d | 793 …(data.ulongLength == 1 && (data.peekUlong(0) <= sign+cast(ulong)(long.max)) // 1+long.max = |long… in toLong() 795 : long.max); in toLong() 813 … (data.uintLength == 1 && (data.peekUint(0) <= sign+cast(uint)(int.max)) // 1+int.max = |int.min| in toInt() 815 : int.max); in toInt() 1184 auto b = -long.max % a; 1185 assert( b == -long.max % (ulong.max - 5)); 1186 b = long.max / a; 1187 assert( b == long.max /(ulong.max - 5)); 1589 assert((x1 * T.max) / T.max == x1); 1590 assert((x2 * T.max) / T.max == x2); [all …]
|