Searched refs:exp (Results 1 – 22 of 22) sorted by relevance
446 private BoundedRational pow(BigInteger exp) { in pow() argument447 if (exp.signum() < 0) { in pow()448 return inverse(pow(exp.negate())); in pow()450 if (exp.equals(BigInteger.ONE)) { in pow()453 if (exp.and(BigInteger.ONE).intValue() == 1) { in pow()454 return multiply(pow(exp.subtract(BigInteger.ONE)), this); in pow()456 if (exp.signum() == 0) { in pow()459 BoundedRational tmp = pow(exp.shiftRight(1)); in pow()466 public static BoundedRational pow(BoundedRational base, BoundedRational exp) { in pow() argument467 if (exp == null) { in pow()[all …]
176 public void addExponent(int exp) { in addExponent() argument178 mExponent = exp; in addExponent()511 void addExponent(int exp) { in addExponent() argument513 ((Constant) lastTok).addExponent(exp); in addExponent()813 ratVal = BoundedRational.exp(argVal.ratVal); in evalUnary()817 return new EvalRet(argVal.pos, argVal.val.exp(), null); in evalUnary()875 private static CR pow(CR base, BigInteger exp) { in pow() argument876 if (exp.compareTo(BigInteger.ZERO) < 0) { in pow()877 return pow(base, exp.negate()).inverse(); in pow()879 if (exp.equals(BigInteger.ONE)) { in pow()[all …]
211 private final int expLen(int exp) { in expLen() argument212 if (exp == 0) return 0; in expLen()213 final int abs_exp_digits = (int) Math.ceil(Math.log10(Math.abs((double)exp)) in expLen()215 return abs_exp_digits + (exp >= 0 ? 1 : 2); in expLen()
1153 int exp = 0; in addExponent() local1162 exp = 10 * exp + Character.digit(s.charAt(i), 10); in addExponent()1164 mExpr.addExponent(sign * exp); in addExponent()
395 mDuration = (int) (1000.0 * Math.exp(l / (DECELERATION_RATE - 1.0))); in fling()404 (int) (ALPHA * Math.exp(DECELERATION_RATE / (DECELERATION_RATE - 1.0) * l)); in fling()426 x -= (1.0f - (float)Math.exp(-x)); in viscousFluid()429 x = 1.0f - (float)Math.exp(1.0f - x); in viscousFluid()
791 return mFlingFriction * PHYSICAL_COEF * Math.exp(DECELERATION_RATE / decelMinusOne * l); in getSplineFlingDistance()798 return (int) (1000.0 * Math.exp(l / decelMinusOne)); in getSplineFlingDuration()
97 checkWeakEq(BoundedRational.exp(x), xAsCR.exp(), "exp:" + x); in checkBR()99 CR.valueOf(15).ln().multiply(xAsCR).exp(), in checkBR()123 xAsCR.ln().multiply(CR.valueOf(15)).exp(), in checkBR()
465 return (int) (1000.0 * Math.exp(l / decelMinusOne)); in getSplineFlingDuration()471 return mFlingFriction * mPhysicalCoeff * Math.exp(DECELERATION_RATE / decelMinusOne * l); in getSplineFlingDistance()478 x -= (1.0f - (float)Math.exp(-x)); in viscousFluid()481 x = 1.0f - (float)Math.exp(1.0f - x); in viscousFluid()
790 … return mFlingFriction * mPhysicalCoeff * Math.exp(DECELERATION_RATE / decelMinusOne * l); in getSplineFlingDistance()797 return (int) (1000.0 * Math.exp(l / decelMinusOne)); in getSplineFlingDuration()
42 float sx = (float)(Vib/(1+exp(-red*3))); in JNIFUNCF()
96 float ret = 1.0f - exp (- alpha * pow(mag, beta)); in JNIFUNCF()
175 final float e = (float) Math.exp((now - mSmoothingTime) / SMOOTHING_CONSTANT); in computeScroll()
82 (1 / (1 + (float) Math.exp(-t * ROTATE_FACTOR)) - 0.5f) * 2 * -45; in getTransform()
882 float ex = (float) Math.exp(-(i - mid) * (i - mid) / (mid * mid)) in getGaussianMask()
1dictionary=main:fr,locale=fr,description=Français,date=1414726264, ...
1dictionary=main:en,locale=en,description=English,date=1414726273, ...