Home
last modified time | relevance | path

Searched refs:intPart (Results 1 – 25 of 355) sorted by relevance

12345678910>>...15

/dports/net/ns3/ns-allinone-3.35/ns-3.35/src/core/test/
H A Dint64x64-test-suite.cc1025 void Check (const int64_t intPart);
1027 const int64_t intPart,
1042 const int64_t intPart, in Check() argument
1047 expect += intPart; in Check()
1128 Int64x64DoubleTestCase::Check (const int64_t intPart) in Check() argument
1132 << "integer: " << intPart in Check()
1134 m_last = static_cast<long double> (intPart); in Check()
1138 long double v = static_cast<long double> (intPart); in Check()
1140 Check (v + 0.0000000000000000000542L, intPart, 0x1ULL); in Check()
1141 Check (v + 0.0000000000000000001084L, intPart, 0x2ULL); in Check()
[all …]
/dports/textproc/miller/miller-5.10.2/go/src/lib/
H A Dtime.go14 intPart := int64(epochSeconds)
15 fractionalPart := epochSeconds - float64(intPart)
17 t := time.Unix(intPart, 0).UTC()
38 intPart := int64(epochSeconds)
39 fractionalPart := epochSeconds - float64(intPart)
41 return time.Unix(intPart, decimalPart).UTC()
/dports/finance/qtbitcointrader/QtBitcoinTrader-1.40.55/src/
H A Djulymath.h68 double intPart = floor(val); in cutDoubleDecimals() local
69 val = floor((val - intPart) * zeros + (roundUp ? 0.5 : 0.0)) / zeros + intPart; in cutDoubleDecimals()
82 double intPart = floor(val); in cutDoubleDecimalsCopy() local
83 intPart = floor((val - intPart) * zeros + (roundUp ? 0.5 : 0.0)) / zeros + intPart; in cutDoubleDecimalsCopy()
84 return intPart; in cutDoubleDecimalsCopy()
/dports/games/flightgear-aircraft/fgaircraft/A300/Nasal/Math/
H A Dtrigs.nas60 intPart = int(x * tableSize + 0.5);
61 decPart = (x * tableSize - intPart) / tableSize ;
66 for(i = intPart/tableSize; i < intPart/tableSize + decPart; i = i + precision){
74 for(i = (intPart - precision) / tableSize; i > intPart/tableSize + decPart; i = i - precision){
82 return ((table[intPart] + int(area + 0.5) * precision / 2) * factor);
/dports/devel/grantlee5/grantlee-5.2.0/templates/defaulttags/
H A Dwidthratio.cpp56 auto intPart = (int)number; in round() local
57 if (number < (intPart + 0.5)) in round()
58 return intPart; in round()
59 return intPart + 1; in round()
/dports/www/nextcloud/nextcloud/3rdparty/punic/punic/code/
H A DNumber.php94 $intPart = $full[0];
96 $len = strlen($intPart);
100 $pre = substr($intPart, 0, $preLength);
101 …$intPart = $pre.$groupSign.implode($groupSign, str_split(substr($intPart, $preLength), $groupLengt…
103 $result = $sign.$intPart;
H A DPlural.php46 $intPart = $s;
49 list($intPart, $floatPart) = explode('.', $s);
51 $intPartAbs = strval(abs(intval($intPart)));
58 list($intPart, $floatPart) = explode('.', $number);
59 $v = @intval($intPart);
/dports/www/owncloud/owncloud/lib/composer/punic/punic/src/
H A DPlural.php80 $intPart = $s;
83 list($intPart, $floatPart) = explode('.', $s);
85 $intPartAbs = (string) abs((int) $intPart);
93 list($intPart, $floatPart) = explode('.', $number);
94 $v = @(int) $intPart;
H A DNumber.php85 $intPart = $full[0];
87 $len = strlen($intPart);
91 $pre = substr($intPart, 0, $preLength);
92 …$intPart = $pre . $groupSign . implode($groupSign, str_split(substr($intPart, $preLength), $groupL…
94 $result = $sign . $intPart;
/dports/net-im/telegram-desktop/tdesktop-3.2.5-full/Telegram/ThirdParty/libtgvoip/webrtc_dsp/modules/audio_processing/ns/
H A Dnsx_core_c.c34 int16_t tmp16, tmp16no1, tmp16no2, tmpIndFX, tableIndex, frac, intPart; in WebRtcNsx_SpeechNoiseProb() local
223 intPart = (int16_t)(tmp32no1 >> 12); in WebRtcNsx_SpeechNoiseProb()
224 if (intPart < -8) { in WebRtcNsx_SpeechNoiseProb()
225 intPart = -8; in WebRtcNsx_SpeechNoiseProb()
232 invLrtFX = (1 << (8 + intPart)) + in WebRtcNsx_SpeechNoiseProb()
233 WEBRTC_SPL_SHIFT_W32(tmp32no2, intPart - 4); // Q8 in WebRtcNsx_SpeechNoiseProb()
/dports/audio/libfilteraudio/filter_audio-0.0.1/ns/
H A Dnsx_core_c.c36 int16_t tmp16, tmp16no1, tmp16no2, tmpIndFX, tableIndex, frac, intPart; in WebRtcNsx_SpeechNoiseProb() local
225 intPart = (int16_t)(tmp32no1 >> 12); in WebRtcNsx_SpeechNoiseProb()
226 if (intPart < -8) { in WebRtcNsx_SpeechNoiseProb()
227 intPart = -8; in WebRtcNsx_SpeechNoiseProb()
234 invLrtFX = (1 << (8 + intPart)) + in WebRtcNsx_SpeechNoiseProb()
235 WEBRTC_SPL_SHIFT_W32(tmp32no2, intPart - 4); // Q8 in WebRtcNsx_SpeechNoiseProb()
/dports/net/pjsip/pjproject-2.11.1/third_party/webrtc/src/webrtc/modules/audio_processing/ns/
H A Dnsx_core_c.c35 int16_t tmp16, tmp16no1, tmp16no2, tmpIndFX, tableIndex, frac, intPart; in WebRtcNsx_SpeechNoiseProb() local
224 intPart = (int16_t)(tmp32no1 >> 12); in WebRtcNsx_SpeechNoiseProb()
225 if (intPart < -8) { in WebRtcNsx_SpeechNoiseProb()
226 intPart = -8; in WebRtcNsx_SpeechNoiseProb()
233 invLrtFX = (1 << (8 + intPart)) + in WebRtcNsx_SpeechNoiseProb()
234 WEBRTC_SPL_SHIFT_W32(tmp32no2, intPart - 4); // Q8 in WebRtcNsx_SpeechNoiseProb()
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/libwebrtc/webrtc/modules/audio_processing/ns/
H A Dnsx_core_c.c34 int16_t tmp16, tmp16no1, tmp16no2, tmpIndFX, tableIndex, frac, intPart; in WebRtcNsx_SpeechNoiseProb() local
223 intPart = (int16_t)(tmp32no1 >> 12); in WebRtcNsx_SpeechNoiseProb()
224 if (intPart < -8) { in WebRtcNsx_SpeechNoiseProb()
225 intPart = -8; in WebRtcNsx_SpeechNoiseProb()
232 invLrtFX = (1 << (8 + intPart)) + in WebRtcNsx_SpeechNoiseProb()
233 WEBRTC_SPL_SHIFT_W32(tmp32no2, intPart - 4); // Q8 in WebRtcNsx_SpeechNoiseProb()
/dports/lang/spidermonkey60/firefox-60.9.0/media/webrtc/trunk/webrtc/modules/audio_processing/ns/
H A Dnsx_core_c.c34 int16_t tmp16, tmp16no1, tmp16no2, tmpIndFX, tableIndex, frac, intPart; in WebRtcNsx_SpeechNoiseProb() local
223 intPart = (int16_t)(tmp32no1 >> 12); in WebRtcNsx_SpeechNoiseProb()
224 if (intPart < -8) { in WebRtcNsx_SpeechNoiseProb()
225 intPart = -8; in WebRtcNsx_SpeechNoiseProb()
232 invLrtFX = (1 << (8 + intPart)) + in WebRtcNsx_SpeechNoiseProb()
233 WEBRTC_SPL_SHIFT_W32(tmp32no2, intPart - 4); // Q8 in WebRtcNsx_SpeechNoiseProb()
/dports/www/firefox-legacy/firefox-52.8.0esr/media/webrtc/trunk/webrtc/modules/audio_processing/ns/
H A Dnsx_core_c.c35 int16_t tmp16, tmp16no1, tmp16no2, tmpIndFX, tableIndex, frac, intPart; in WebRtcNsx_SpeechNoiseProb() local
223 intPart = (int16_t)(tmp32no1 >> 12); in WebRtcNsx_SpeechNoiseProb()
224 if (intPart < -8) { in WebRtcNsx_SpeechNoiseProb()
225 intPart = -8; in WebRtcNsx_SpeechNoiseProb()
232 invLrtFX = (1 << (8 + intPart)) + in WebRtcNsx_SpeechNoiseProb()
233 WEBRTC_SPL_SHIFT_W32(tmp32no2, intPart - 4); // Q8 in WebRtcNsx_SpeechNoiseProb()
/dports/www/firefox-esr/firefox-91.8.0/third_party/libwebrtc/webrtc/modules/audio_processing/ns/
H A Dnsx_core_c.c34 int16_t tmp16, tmp16no1, tmp16no2, tmpIndFX, tableIndex, frac, intPart; in WebRtcNsx_SpeechNoiseProb() local
223 intPart = (int16_t)(tmp32no1 >> 12); in WebRtcNsx_SpeechNoiseProb()
224 if (intPart < -8) { in WebRtcNsx_SpeechNoiseProb()
225 intPart = -8; in WebRtcNsx_SpeechNoiseProb()
232 invLrtFX = (1 << (8 + intPart)) + in WebRtcNsx_SpeechNoiseProb()
233 WEBRTC_SPL_SHIFT_W32(tmp32no2, intPart - 4); // Q8 in WebRtcNsx_SpeechNoiseProb()
/dports/audio/webrtc-audio-processing0/webrtc-audio-processing-0.3.1/webrtc/modules/audio_processing/ns/
H A Dnsx_core_c.c35 int16_t tmp16, tmp16no1, tmp16no2, tmpIndFX, tableIndex, frac, intPart;
224 intPart = (int16_t)(tmp32no1 >> 12);
225 if (intPart < -8) {
226 intPart = -8;
233 invLrtFX = (1 << (8 + intPart)) +
234 WEBRTC_SPL_SHIFT_W32(tmp32no2, intPart - 4); // Q8
/dports/lang/spidermonkey78/firefox-78.9.0/media/webrtc/trunk/webrtc/modules/audio_processing/ns/
H A Dnsx_core_c.c34 int16_t tmp16, tmp16no1, tmp16no2, tmpIndFX, tableIndex, frac, intPart; in WebRtcNsx_SpeechNoiseProb() local
223 intPart = (int16_t)(tmp32no1 >> 12); in WebRtcNsx_SpeechNoiseProb()
224 if (intPart < -8) { in WebRtcNsx_SpeechNoiseProb()
225 intPart = -8; in WebRtcNsx_SpeechNoiseProb()
232 invLrtFX = (1 << (8 + intPart)) + in WebRtcNsx_SpeechNoiseProb()
233 WEBRTC_SPL_SHIFT_W32(tmp32no2, intPart - 4); // Q8 in WebRtcNsx_SpeechNoiseProb()
/dports/multimedia/mswebrtc/mswebrtc-1.1.1/webrtc/webrtc/modules/audio_processing/ns/
H A Dnsx_core_c.c35 int16_t tmp16, tmp16no1, tmp16no2, tmpIndFX, tableIndex, frac, intPart; in WebRtcNsx_SpeechNoiseProb() local
224 intPart = (int16_t)(tmp32no1 >> 12); in WebRtcNsx_SpeechNoiseProb()
225 if (intPart < -8) { in WebRtcNsx_SpeechNoiseProb()
226 intPart = -8; in WebRtcNsx_SpeechNoiseProb()
233 invLrtFX = (1 << (8 + intPart)) + in WebRtcNsx_SpeechNoiseProb()
234 WEBRTC_SPL_SHIFT_W32(tmp32no2, intPart - 4); // Q8 in WebRtcNsx_SpeechNoiseProb()
/dports/audio/libopenmpt/libopenmpt-0.6.0+release.autotools/soundlib/
H A DSnd_defs.h582 …MPT_CONSTEXPRINLINE SamplePosition(int32 intPart, uint32 fractPart) : v((static_cast<value_t>(intP… in SamplePosition()
588 …T_CONSTEXPRINLINE SamplePosition &Set(int32 intPart, uint32 fractPart = 0) { v = (static_cast<int6…
590 …MPT_CONSTEXPRINLINE SamplePosition &SetInt(int32 intPart) { v = (static_cast<value_t>(intPart) << … in SetInt()
659 …MPT_CONSTEXPRINLINE FPInt(T intPart, T fractPart) : v((intPart * fractFact) + (fractPart % fractFa… in FPInt()
664 …MPT_CONSTEXPRINLINE FPInt<fractFact, T> &Set(T intPart, T fractPart = 0) { v = (intPart * fractFac…
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/skia/samplecode/
H A DSampleDegenerateTwoPtRadials.cpp49 int intPart = SkScalarFloorToInt(delta); in onDrawContent() local
50 delta = delta - SK_Scalar1 * intPart; in onDrawContent()
51 if (intPart % 2) { in onDrawContent()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/samplecode/
H A DSampleDegenerateTwoPtRadials.cpp49 int intPart = SkScalarFloorToInt(delta); in onDrawContent() local
50 delta = delta - SK_Scalar1 * intPart; in onDrawContent()
51 if (intPart % 2) { in onDrawContent()
/dports/astro/wmsolar/wmsolar-1.1/
H A DAstroOps.cpp240 double intPart = floor( jd ); in greenwichSiderealTime() local
241 jd -= intPart; in greenwichSiderealTime()
244 .98564736629 * intPart + in greenwichSiderealTime()
/dports/graphics/libfpx/libfpx-1.3.1-10/basics/
H A Db_string.cpp85 long intPart = 0; in Chaine() local
108 intPart = intPart*10 + chiffre; in Chaine()
125 if ((intPart == 0) && (decPart == 0)) { in Chaine()
139 long intPart = 0; in Chaine() local
162 intPart = intPart*10 + chiffre; in Chaine()
179 if ((intPart == 0) && (decPart == 0)) { in Chaine()
/dports/lang/spidermonkey60/firefox-60.9.0/media/webrtc/trunk/webrtc/modules/audio_processing/agc/legacy/
H A Ddigital_agc.c76 uint16_t tmpU16, intPart, fracPart; in WebRtcAgc_CalculateGainTable() local
155 intPart = (uint16_t)(absInLevel >> 14); in WebRtcAgc_CalculateGainTable()
158 tmpU16 = kGenFuncTable[intPart + 1] - kGenFuncTable[intPart]; // Q8 in WebRtcAgc_CalculateGainTable()
160 tmpU32no1 += (uint32_t)kGenFuncTable[intPart] << 14; // Q22 in WebRtcAgc_CalculateGainTable()
222 intPart = (int16_t)(tmp32 >> 14); in WebRtcAgc_CalculateGainTable()
236 (1 << intPart) + WEBRTC_SPL_SHIFT_W32(fracPart, intPart - 14); in WebRtcAgc_CalculateGainTable()

12345678910>>...15