Home
last modified time | relevance | path

Searched refs:safeDiv (Results 1 – 25 of 34) sorted by relevance

12

/dports/math/couenne/Couenne-releases-0.5.8/Couenne/src/expression/operators/bounds/
H A DCouenneExprBDiv.hpp19 static inline CouNumber safeDiv (register CouNumber a, register CouNumber b, int sign) { in safeDiv() function
72 if (n > 0) return safeDiv (n,D,-1); // (+,+,+,+) --> n/D in operator ()()
73 else return safeDiv (n,d,-1); // (-,?,+,+) --> n/d in operator ()()
76 else if (N > 0) return safeDiv (N,D,-1); // (?,+,-,-) --> N/D in operator ()()
77 else return safeDiv (N,d,-1); // (-,-,-,-) --> N/d in operator ()()
120 if (N < 0) return safeDiv (N,D,1); // (-,-,+,+) --> N/D in operator ()()
121 else return safeDiv (N,d,1); // (?,+,+,+) --> N/d in operator ()()
124 else if (n < 0) return safeDiv (n,D,1); // (-,?,-,-) --> n/D in operator ()()
125 else return safeDiv (n,d,1); // (+,+,-,-) --> n/d in operator ()()
/dports/math/couenne/Couenne-releases-0.5.8/Couenne/src/expression/operators/
H A DexprDiv.cpp189 if (ln > 0) lb = safeDiv (ln,ud,-1); // (+,+,+,+) --> ln/ud in getBounds()
190 else lb = safeDiv (ln,ld,-1); // (-,?,+,+) --> ln/ld in getBounds()
193 else if (un > 0) lb = safeDiv (un,ud,-1); // (?,+,-,-) --> un/ud in getBounds()
194 else lb = safeDiv (un,ld,-1); // (-,-,-,-) --> un/ld in getBounds()
200 if (un < 0) ub = safeDiv (un,ud,1); // (-,-,+,+) --> un/ud in getBounds()
201 else ub = safeDiv (un,ld,1); // (?,+,+,+) --> un/ld in getBounds()
204 else if (ln < 0) ub = safeDiv (ln,ud,1); // (-,?,-,-) --> ln/ud in getBounds()
205 else ub = safeDiv (ln,ld,1); // (+,+,-,-) --> ln/ld in getBounds()
/dports/math/vampire/vampire-4.5.1/Kernel/
H A DRational.cpp72 _num = safeDiv(_num, gcd); in Rational()
73 _den = safeDiv(_den, gcd); in Rational()
236 mul1= safeDiv(_den,gcd); in operator +()
237 mul2 = safeDiv(o._den,gcd); in operator +()
260 mul1= safeDiv(_den,gcd); in operator -()
261 mul2 = safeDiv(o._den,gcd); in operator -()
390 result = Rational( safeDiv(result._num, tmp), safeDiv(result._den, tmp)); in canonical()
532 long long safeDiv(long long n1, long long n2) { in safeDiv() function
H A DRational.hpp61 long long safeDiv(long long n1, long long n2);
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.replacements.aarch64/src/org/graalvm/compiler/replacements/aarch64/
H A DAArch64IntegerArithmeticSnippets.java126 return safeDiv(x, y); in idivSnippet()
134 return safeDiv(x, y); in ldivSnippet()
200 private static native int safeDiv(int x, int y); in safeDiv() method in AArch64IntegerArithmeticSnippets
203 private static native long safeDiv(long x, long y); in safeDiv() method in AArch64IntegerArithmeticSnippets
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.replacements.aarch64/src/org/graalvm/compiler/replacements/aarch64/
H A DAArch64IntegerArithmeticSnippets.java126 return safeDiv(x, y); in idivSnippet()
134 return safeDiv(x, y); in ldivSnippet()
200 private static native int safeDiv(int x, int y); in safeDiv() method in AArch64IntegerArithmeticSnippets
203 private static native long safeDiv(long x, long y); in safeDiv() method in AArch64IntegerArithmeticSnippets
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.replacements.aarch64/src/org/graalvm/compiler/replacements/aarch64/
H A DAArch64IntegerArithmeticSnippets.java127 return safeDiv(x, y); in idivSnippet()
135 return safeDiv(x, y); in ldivSnippet()
201 private static native int safeDiv(int x, int y); in safeDiv() method in AArch64IntegerArithmeticSnippets
204 private static native long safeDiv(long x, long y); in safeDiv() method in AArch64IntegerArithmeticSnippets
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.replacements.aarch64/src/org/graalvm/compiler/replacements/aarch64/
H A DAArch64IntegerArithmeticSnippets.java126 return safeDiv(x, y); in idivSnippet()
134 return safeDiv(x, y); in ldivSnippet()
200 private static native int safeDiv(int x, int y); in safeDiv() method in AArch64IntegerArithmeticSnippets
203 private static native long safeDiv(long x, long y); in safeDiv() method in AArch64IntegerArithmeticSnippets
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.replacements.aarch64/src/org/graalvm/compiler/replacements/aarch64/
H A DAArch64IntegerArithmeticSnippets.java127 return safeDiv(x, y); in idivSnippet()
135 return safeDiv(x, y); in ldivSnippet()
201 private static native int safeDiv(int x, int y); in safeDiv() method in AArch64IntegerArithmeticSnippets
204 private static native long safeDiv(long x, long y); in safeDiv() method in AArch64IntegerArithmeticSnippets
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.replacements.aarch64/src/org/graalvm/compiler/replacements/aarch64/
H A DAArch64IntegerArithmeticSnippets.java126 return safeDiv(x, y); in idivSnippet()
134 return safeDiv(x, y); in ldivSnippet()
200 private static native int safeDiv(int x, int y); in safeDiv() method in AArch64IntegerArithmeticSnippets
203 private static native long safeDiv(long x, long y); in safeDiv() method in AArch64IntegerArithmeticSnippets
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.replacements.aarch64/src/org/graalvm/compiler/replacements/aarch64/
H A DAArch64IntegerArithmeticSnippets.java127 return safeDiv(x, y); in idivSnippet()
135 return safeDiv(x, y); in ldivSnippet()
201 private static native int safeDiv(int x, int y); in safeDiv() method in AArch64IntegerArithmeticSnippets
204 private static native long safeDiv(long x, long y); in safeDiv() method in AArch64IntegerArithmeticSnippets
/dports/www/py-graphite-web/graphite-web-1.1.8/webapp/graphite/functions/
H A Dsafe.py26 def safeDiv(a, b): function
89 avg = safeDiv(sm,ln)
/dports/audio/guidoar/guidoar-cf5681a/src/operations/
H A DdurationOperation.h80 rational safeDiv ( const rational& dur1, const rational& dur2 ) const;
/dports/multimedia/mpc-qt/mpc-qt-20.10/
H A Dthumbnailerwindow.cpp307 auto safeDiv = [](double u, double v) { return std::max(1.0,u) / std::max(1.0,v); }; in mpv_videoSizeChanged() local
308 double aRatio = safeDiv(video.width(), video.height()); in mpv_videoSizeChanged()
316 double factor = safeDiv(mpvVideoSize.height(), h); in mpv_videoSizeChanged()
/dports/x11/hs-xmobar/xmobar-0.39/src/Xmobar/Plugins/Monitors/
H A DCpu.hs167 safeDiv n = case tot of function
170 percent = map safeDiv dif
/dports/devel/hadoop2/hadoop-2.7.2-src/hadoop-tools/hadoop-streaming/src/main/java/org/apache/hadoop/streaming/
H A DPipeMapRed.java579 + safeDiv(numRecRead_, elapsed) + " [rec/s]" + " out:" + safeDiv(numRecWritten_, elapsed) in numRecInfo()
583 String safeDiv(long n, long d) { in safeDiv() method in PipeMapRed
/dports/devel/hadoop/hadoop-1.2.1/src/contrib/streaming/src/java/org/apache/hadoop/streaming/
H A DPipeMapRed.java631 + safeDiv(numRecRead_, elapsed) + " [rec/s]" + " out:" + safeDiv(numRecWritten_, elapsed) in numRecInfo()
635 String safeDiv(long n, long d) { in safeDiv() method in PipeMapRed
/dports/www/py-graphite-api/graphite-api-1.1.3/graphite_api/
H A Dfunctions.py78 def safeDiv(a, b): function
103 return safeDiv(safeSum(a), safeLen(a))
109 avg = safeDiv(sm, ln)
342 values = (safeDiv(safeSum(row), safeLen(row))
559 resultValues = [safeMul(safeDiv(val, totalVal), 100.0)
605 values = (safeDiv(v1, v2) for v1, v2 in zip_longest(*bothSeries))
689 resultValues = [safeDiv(val1, val2)
792 series[i] = safeDiv(1, value)
1371 'avg': lambda s: safeDiv(safeSum(s), safeLen(s)),
1973 sigma = safeDiv(square_sum, safeLen(series))
/dports/devel/llvm70/llvm-7.0.1.src/lib/ProfileData/
H A DGCOV.cpp449 static uint32_t safeDiv(uint64_t Numerator, uint64_t Divisor) { in safeDiv() function
726 << " returned " << safeDiv(Func->getExitCount() * 100, EntryCount) in printFunctionSummary()
728 << safeDiv(BlocksExec * 100, Func->getNumBlocks() - 1) << "%\n"; in printFunctionSummary()
/dports/devel/llvm10/llvm-10.0.1.src/lib/ProfileData/
H A DGCOV.cpp568 static uint32_t safeDiv(uint64_t Numerator, uint64_t Divisor) { in safeDiv() function
844 << " returned " << safeDiv(Func->getExitCount() * 100, EntryCount) in printFunctionSummary()
846 << safeDiv(BlocksExec * 100, Func->getNumBlocks() - 1) << "%\n"; in printFunctionSummary()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/
H A DGCOV.cpp568 static uint32_t safeDiv(uint64_t Numerator, uint64_t Divisor) { in safeDiv() function
844 << " returned " << safeDiv(Func->getExitCount() * 100, EntryCount) in printFunctionSummary()
846 << safeDiv(BlocksExec * 100, Func->getNumBlocks() - 1) << "%\n"; in printFunctionSummary()
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/llvm/lib/ProfileData/
H A DGCOV.cpp568 static uint32_t safeDiv(uint64_t Numerator, uint64_t Divisor) { in safeDiv() function
844 << " returned " << safeDiv(Func->getExitCount() * 100, EntryCount) in printFunctionSummary()
846 << safeDiv(BlocksExec * 100, Func->getNumBlocks() - 1) << "%\n"; in printFunctionSummary()
/dports/devel/llvm90/llvm-9.0.1.src/lib/ProfileData/
H A DGCOV.cpp568 static uint32_t safeDiv(uint64_t Numerator, uint64_t Divisor) { in safeDiv() function
844 << " returned " << safeDiv(Func->getExitCount() * 100, EntryCount) in printFunctionSummary()
846 << safeDiv(BlocksExec * 100, Func->getNumBlocks() - 1) << "%\n"; in printFunctionSummary()
/dports/devel/llvm80/llvm-8.0.1.src/lib/ProfileData/
H A DGCOV.cpp568 static uint32_t safeDiv(uint64_t Numerator, uint64_t Divisor) { in safeDiv() function
836 << " returned " << safeDiv(Func->getExitCount() * 100, EntryCount) in printFunctionSummary()
838 << safeDiv(BlocksExec * 100, Func->getNumBlocks() - 1) << "%\n"; in printFunctionSummary()
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/llvm/lib/ProfileData/
H A DGCOV.cpp471 static uint32_t safeDiv(uint64_t Numerator, uint64_t Divisor) { in safeDiv() function
799 << " returned " << safeDiv(Func->getExitCount() * 100, EntryCount) in printFunctionSummary()
801 << safeDiv(BlocksExec * 100, Func->getNumBlocks() - 1) << "%\n"; in printFunctionSummary()

12