content: package kotlin.math;
  
  import kotlin.Metadata;
  
  @Metadata(d1 = {"\u0000\"\n\u0000\n\u0002\u0010\u0006\n\u0002\b\u0004\n\u0002\u0010\u0007\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0002\n\u0002\u0010\t\n\u0002\b7\u001a\u0011\u0010\u0016\u001a\u00020\u00012\u0006\u0010\u0017\u001a\u00020\u0001H\b\u001a\u0011\u0010\u0016\u001a\u00020\u00062\u0006\u0010\u0017\u001a\u00020\u0006H\b\u001a\u0011\u0010\u0016\u001a\u00020\t2\u0006\u0010\u0018\u001a\u00020\tH\b\u001a\u0011\u0010\u0016\u001a\u00020\f2\u0006\u0010\u0018\u001a\u00020\fH\b\u001a\u0011\u0010\u0019\u001a\u00020\u00012\u0006\u0010\u0017\u001a\u00020\u0001H\b\u001a\u0011\u0010\u0019\u001a\u00020\u00062\u0006\u0010\u0017\u001a\u00020\u0006H\b\u001a\u0010\u0010\u001a\u001a\u00020\u00012\u0006\u0010\u0017\u001a\u00020\u0001H\u0007\u001a\u0011\u0010\u001a\u001a\u00020\u00062\u0006\u0010\u0017\u001a\u00020\u0006H\b\u001a\u0011\u0010\u001b\u001a\u00020\u00012\u0006\u0010\u0017\u001a\u00020\u0001H\b\u001a\u0011\u0010\u001b\u001a\u00020\u00062\u0006\u0010\u0017\u001a\u00020\u0006H\b\u001a\u0010\u0010\u001c\u001a\u00020\u00012\u0006\u0010\u0017\u001a\u00020\u0001H\u0007\u001a\u0011\u0010\u001c\u001a\u00020\u00062\u0006\u0010\u0017\u001a\u00020\u0006H\b\u001a\u0011\u0010\u001d\u001a\u00020\u00012\u0006\u0010\u0017\u001a\u00020\u0001H\b\u001a\u0011\u0010\u001d\u001a\u00020\u00062\u0006\u0010\u0017\u001a\u00020\u0006H\b\u001a\u0019\u0010\u001e\u001a\u00020\u00012\u0006\u0010\u001f\u001a\u00020\u00012\u0006\u0010\u0017\u001a\u00020\u0001H\b\u001a\u0019\u0010\u001e\u001a\u00020\u00062\u0006\u0010\u001f\u001a\u00020\u00062\u0006\u0010\u0017\u001a\u00020\u0006H\b\u001a\u0010\u0010 \u001a\u00020\u00012\u0006\u0010\u0017\u001a\u00020\u0001H\u0007\u001a\u0011\u0010 \u001a\u00020\u00062\u0006\u0010\u0017\u001a\u00020\u0006H\b\u001a\u0011\u0010!\u001a\u00020\u00012\u0006\u0010\u0017\u001a\u00020\u0001H\b\u001a\u0011\u0010!\u001a\u00020\u00062\u0006\u0010\u0017\u001a\u00020\u0006H\b\u001a\u0011\u0010\"\u001a\u00020\u00012\u0006\u0010\u0017\u001a\u00020\u0001H\b\u001a\u0011\u0010\"\u001a\u00020\u00062\u0006\u0010\u0017\u001a\u00020\u0006H\b\u001a\u0011\u0010#\u001a\u00020\u00012\u0006\u0010\u0017\u001a\u00020\u0001H\b\u001a\u0011\u0010#\u001a\u00020\u00062\u0006\u0010\u0017\u001a\u00020\u0006H\b\u001a\u0011\u0010$\u001a\u00020\u00012\u0006\u0010\u0017\u001a\u00020\u0001H\b\u001a\u0011\u0010$\u001a\u00020\u00062\u0006\u0010\u0017\u001a\u00020\u0006H\b\u001a\u0011\u0010%\u001a\u00020\u00012\u0006\u0010\u0017\u001a\u00020\u0001H\b\u001a\u0011\u0010%\u001a\u00020\u00062\u0006\u0010\u0017\u001a\u00020\u0006H\b\u001a\u0011\u0010&\u001a\u00020\u00012\u0006\u0010\u0017\u001a\u00020\u0001H\b\u001a\u0011\u0010&\u001a\u00020\u00062\u0006\u0010\u0017\u001a\u00020\u0006H\b\u001a\u0019\u0010'\u001a\u00020\u00012\u0006\u0010\u0017\u001a\u00020\u00012\u0006\u0010\u001f\u001a\u00020\u0001H\b\u001a\u0019\u0010'\u001a\u00020\u00062\u0006\u0010\u0017\u001a\u00020\u00062\u0006\u0010\u001f\u001a\u00020\u0006H\b\u001a\u0011\u0010(\u001a\u00020\u00012\u0006\u0010\u0017\u001a\u00020\u0001H\b\u001a\u0011\u0010(\u001a\u00020\u00062\u0006\u0010\u0017\u001a\u00020\u0006H\b\u001a\u0011\u0010)\u001a\u00020\u00012\u0006\u0010\u0017\u001a\u00020\u0001H\b\u001a\u0011\u0010)\u001a\u00020\u00062\u0006\u0010\u0017\u001a\u00020\u0006H\b\u001a\u0018\u0010*\u001a\u00020\u00012\u0006\u0010\u0017\u001a\u00020\u00012\u0006\u0010+\u001a\u00020\u0001H\u0007\u001a\u0018\u0010*\u001a\u00020\u00062\u0006\u0010\u0017\u001a\u00020\u00062\u0006\u0010+\u001a\u00020\u0006H\u0007\u001a\u0011\u0010,\u001a\u00020\u00012\u0006\u0010\u0017\u001a\u00020\u0001H\b\u001a\u0011\u0010,\u001a\u00020\u00062\u0006\u0010\u0017\u001a\u00020\u0006H\b\u001a\u0010\u0010-\u001a\u00020\u00012\u0006\u0010\u0017\u001a\u00020\u0001H\u0007\u001a\u0010\u0010-\u001a\u00020\u00062\u0006\u0010\u0017\u001a\u00020\u0006H\u0007\u001a\u0019\u0010.\u001a\u00020\u00012\u0006\u0010/\u001a\u00020\u00012\u0006\u00100\u001a\u00020\u0001H\b\u001a\u0019\u0010.\u001a\u00020\u00062\u0006\u0010/\u001a\u00020\u00062\u0006\u00100\u001a\u00020\u0006H\b\u001a\u0019\u0010.\u001a\u00020\t2\u0006\u0010/\u001a\u00020\t2\u0006\u00100\u001a\u00020\tH\b\u001a\u0019\u0010.\u001a\u00020\f2\u0006\u0010/\u001a\u00020\f2\u0006\u00100\u001a\u00020\fH\b\u001a\u0019\u00101\u001a\u00020\u00012\u0006\u0010/\u001a\u00020\u00012\u0006\u00100\u001a\u00020\u0001H\b\u001a\u0019\u00101\u001a\u00020\u00062\u0006\u0010/\u001a\u00020\u00062\u0006\u00100\u001a\u00020\u0006H\b\u001a\u0019\u00101\u001a\u00020\t2\u0006\u0010/\u001a\u00020\t2\u0006\u00100\u001a\u00020\tH\b\u001a\u0019\u00101\u001a\u00020\f2\u0006\u0010/\u001a\u00020\f2\u0006\u00100\u001a\u00020\fH\b\u001a\u0011\u00102\u001a\u00020\u00012\u0006\u0010\u0017\u001a\u00020\u0001H\b\u001a\u0011\u00102\u001a\u00020\u00062\u0006\u0010\u0017\u001a\u00020\u0006H\b\u001a\u0011\u0010\u000f\u001a\u00020\u00012\u0006\u0010\u0017\u001a\u00020\u0001H\b\u001a\u0011\u0010\u000f\u001a\u00020\u00062\u0006\u0010\u0017\u001a\u00020\u0006H\b\u001a\u0011\u00103\u001a\u00020\u00012\u0006\u0010\u0017\u001a\u00020\u0001H\b\u001a\u0011\u00103\u001a\u00020\u00062\u0006\u0010\u0017\u001a\u00020\u0006H\b\u001a\u0011\u00104\u001a\u00020\u00012\u0006\u0010\u0017\u001a\u00020\u0001H\b\u001a\u0011\u00104\u001a\u00020\u00062\u0006\u0010\u0017\u001a\u00020\u0006H\b\u001a\u0011\u00105\u001a\u00020\u00012\u0006\u0010\u0017\u001a\u00020\u0001H\b\u001a\u0011\u00105\u001a\u00020\u00062\u0006\u0010\u0017\u001a\u00020\u0006H\b\u001a\u0011\u00106\u001a\u00020\u00012\u0006\u0010\u0017\u001a\u00020\u0001H\b\u001a\u0011\u00106\u001a\u00020\u00062\u0006\u0010\u0017\u001a\u00020\u0006H\b\u001a\u0011\u00107\u001a\u00020\u00012\u0006\u0010\u0017\u001a\u00020\u0001H\b\u001a\u0011\u00107\u001a\u00020\u00062\u0006\u0010\u0017\u001a\u00020\u0006H\b\u001a\u0010\u00108\u001a\u00020\u00012\u0006\u0010\u0017\u001a\u00020\u0001H\u0007\u001a\u0010\u00108\u001a\u00020\u00062\u0006\u0010\u0017\u001a\u00020\u0006H\u0007\u001a\u0015\u00109\u001a\u00020\u0001*\u00020\u00012\u0006\u0010:\u001a\u00020\u0001H\b\u001a\u0015\u00109\u001a\u00020\u0006*\u00020\u00062\u0006\u0010:\u001a\u00020\u0006H\b\u001a\r\u0010;\u001a\u00020\u0001*\u00020\u0001H\b\u001a\r\u0010;\u001a\u00020\u0006*\u00020\u0006H\b\u001a\u0015\u0010<\u001a\u00020\u0001*\u00020\u00012\u0006\u0010=\u001a\u00020\u0001H\b\u001a\u0015\u0010<\u001a\u00020\u0006*\u00020\u00062\u0006\u0010=\u001a\u00020\u0006H\b\u001a\r\u0010>\u001a\u00020\u0001*\u00020\u0001H\b\u001a\r\u0010>\u001a\u00020\u0006*\u00020\u0006H\b\u001a\u0015\u0010?\u001a\u00020\u0001*\u00020\u00012\u0006\u0010\u0017\u001a\u00020\u0001H\b\u001a\u0015\u0010?\u001a\u00020\u0001*\u00020\u00012\u0006\u0010\u0018\u001a\u00020\tH\b\u001a\u0015\u0010?\u001a\u00020\u0006*\u00020\u00062\u0006\u0010\u0017\u001a\u00020\u0006H\b\u001a\u0015\u0010?\u001a\u00020\u0006*\u00020\u00062\u0006\u0010\u0018\u001a\u00020\tH\b\u001a\f\u0010@\u001a\u00020\t*\u00020\u0001H\u0007\u001a\f\u0010@\u001a\u00020\t*\u00020\u0006H\u0007\u001a\f\u0010A\u001a\u00020\f*\u00020\u0001H\u0007\u001a\f\u0010A\u001a\u00020\f*\u00020\u0006H\u0007\u001a\u0015\u0010B\u001a\u00020\u0001*\u00020\u00012\u0006\u0010\u000f\u001a\u00020\u0001H\b\u001a\u0015\u0010B\u001a\u00020\u0001*\u00020\u00012\u0006\u0010\u000f\u001a\u00020\tH\b\u001a\u0015\u0010B\u001a\u00020\u0006*\u00020\u00062\u0006\u0010\u000f\u001a\u00020\u0006H\b\u001a\u0015\u0010B\u001a\u00020\u0006*\u00020\u00062\u0006\u0010\u000f\u001a\u00020\tH\b\"\u001f\u0010\u0000\u001a\u00020\u0001*\u00020\u00018Æ\u0002X\u0004¢\u0006\f\u0012\u0004\b\u0002\u0010\u0003\u001a\u0004\b\u0004\u0010\u0005\"\u001f\u0010\u0000\u001a\u00020\u0006*\u00020\u00068Æ\u0002X\u0004¢\u0006\f\u0012\u0004\b\u0002\u0010\u0007\u001a\u0004\b\u0004\u0010\b\"\u001f\u0010\u0000\u001a\u00020\t*\u00020\t8Æ\u0002X\u0004¢\u0006\f\u0012\u0004\b\u0002\u0010\n\u001a\u0004\b\u0004\u0010\u000b\"\u001f\u0010\u0000\u001a\u00020\f*\u00020\f8Æ\u0002X\u0004¢\u0006\f\u0012\u0004\b\u0002\u0010\r\u001a\u0004\b\u0004\u0010\u000e\"\u001f\u0010\u000f\u001a\u00020\u0001*\u00020\u00018Æ\u0002X\u0004¢\u0006\f\u0012\u0004\b\u0010\u0010\u0003\u001a\u0004\b\u0011\u0010\u0005\"\u001f\u0010\u000f\u001a\u00020\u0006*\u00020\u00068Æ\u0002X\u0004¢\u0006\f\u0012\u0004\b\u0010\u0010\u0007\u001a\u0004\b\u0011\u0010\b\"\u001e\u0010\u000f\u001a\u00020\t*\u00020\t8FX\u0004¢\u0006\f\u0012\u0004\b\u0010\u0010\n\u001a\u0004\b\u0011\u0010\u000b\"\u001e\u0010\u000f\u001a\u00020\t*\u00020\f8FX\u0004¢\u0006\f\u0012\u0004\b\u0010\u0010\r\u001a\u0004\b\u0011\u0010\u0012\"\u001f\u0010\u0013\u001a\u00020\u0001*\u00020\u00018Æ\u0002X\u0004¢\u0006\f\u0012\u0004\b\u0014\u0010\u0003\u001a\u0004\b\u0015\u0010\u0005\"\u001f\u0010\u0013\u001a\u00020\u0006*\u00020\u00068Æ\u0002X\u0004¢\u0006\f\u0012\u0004\b\u0014\u0010\u0007\u001a\u0004\b\u0015\u0010\b¨\u0006C"}, d2 = {"absoluteValue", "", "getAbsoluteValue$annotations", "(D)V", "getAbsoluteValue", "(D)D", "", "(F)V", "(F)F", "", "(I)V", "(I)I", "", "(J)V", "(J)J", "sign", "getSign$annotations", "getSign", "(J)I", "ulp", "getUlp$annotations", "getUlp", "abs", "x", "n", "acos", "acosh", "asin", "asinh", "atan", "atan2", "y", "atanh", "ceil", "cos", "cosh", "exp", "expm1", "floor", "hypot", "ln", "ln1p", "log", "base", "log10", "log2", "max", "a", "b", "min", "round", "sin", "sinh", "sqrt", "tan", "tanh", "truncate", "IEEErem", "divisor", "nextDown", "nextTowards", "to", "nextUp", "pow", "roundToInt", "roundToLong", "withSign", "kotlin-stdlib"}, k = 5, mv = {1, 7, 1}, xi = 49, xs = "kotlin/math/MathKt")
  /* compiled from: MathJVM.kt */
  class MathKt__MathJVMKt extends MathKt__MathHKt {
      private static final double IEEErem(double $this$IEEErem, double divisor) {
          return Math.IEEEremainder($this$IEEErem, divisor);
      }
  
      private static final float IEEErem(float $this$IEEErem, float divisor) {
          return (float) Math.IEEEremainder((double) $this$IEEErem, (double) divisor);
      }
  
      private static final double abs(double x) {
          return Math.abs(x);
      }
  
      private static final float abs(float x) {
          return Math.abs(x);
      }
  
      private static final int abs(int n) {
          return Math.abs(n);
      }
  
      private static final long abs(long n) {
          return Math.abs(n);
      }
  
      private static final double acos(double x) {
          return Math.acos(x);
      }
  
      private static final float acos(float x) {
          return (float) Math.acos((double) x);
      }
  
      public static final double acosh(double x) {
          if (x < 1.0d) {
              return Double.NaN;
          }
          if (x > Constants.upper_taylor_2_bound) {
              return Math.log(x) + Constants.LN2;
          }
          double d = (double) 1;
          if (x - d >= Constants.taylor_n_bound) {
              return Math.log(Math.sqrt((x * x) - d) + x);
          }
          double sqrt = Math.sqrt(x - d);
          double d2 = sqrt;
          if (sqrt >= Constants.taylor_2_bound) {
              d2 -= ((sqrt * sqrt) * sqrt) / ((double) 12);
          }
          return Math.sqrt(2.0d) * d2;
      }
  
      private static final float acosh(float x) {
          return (float) MathKt.acosh((double) x);
      }
  
      private static final double asin(double x) {
          return Math.asin(x);
      }
  
      private static final float asin(float x) {
          return (float) Math.asin((double) x);
      }
  
      public static final double asinh(double x) {
          if (x >= Constants.taylor_n_bound) {
              if (x <= Constants.upper_taylor_n_bound) {
                  return Math.log(Math.sqrt((x * x) + ((double) 1)) + x);
              }
              if (x > Constants.upper_taylor_2_bound) {
                  return Math.log(x) + Constants.LN2;
              }
              double d = (double) 2;
              return Math.log((x * d) + (((double) 1) / (d * x)));
          } else if (x <= (-Constants.taylor_n_bound)) {
              return -MathKt.asinh(-x);
          } else {
              double d2 = x;
              return Math.abs(x) >= Constants.taylor_2_bound ? d2 - (((x * x) * x) / ((double) 6)) : d2;
          }
      }
  
      private static final float asinh(float x) {
          return (float) MathKt.asinh((double) x);
      }
  
      private static final double atan(double x) {
          return Math.atan(x);
      }
  
      private static final float atan(float x) {
          return (float) Math.atan((double) x);
      }
  
      private static final double atan2(double y, double x) {
          return Math.atan2(y, x);
      }
  
      private static final float atan2(float y, float x) {
          return (float) Math.atan2((double) y, (double) x);
      }
  
      public static final double atanh(double x) {
          if (Math.abs(x) < Constants.taylor_n_bound) {
              double d = x;
              return Math.abs(x) > Constants.taylor_2_bound ? d + (((x * x) * x) / ((double) 3)) : d;
          }
          double d2 = (double) 1;
          return Math.log((d2 + x) / (d2 - x)) / ((double) 2);
      }
  
      private static final float atanh(float x) {
          return (float) MathKt.atanh((double) x);
      }
  
      private static final double ceil(double x) {
          return Math.ceil(x);
      }
  
      private static final float ceil(float x) {
          return (float) Math.ceil((double) x);
      }
  
      private static final double cos(double x) {
          return Math.cos(x);
      }
  
      private static final float cos(float x) {
          return (float) Math.cos((double) x);
      }
  
      private static final double cosh(double x) {
          return Math.cosh(x);
      }
  
      private static final float cosh(float x) {
          return (float) Math.cosh((double) x);
      }
  
      private static final double exp(double x) {
          return Math.exp(x);
      }
  
      private static final float exp(float x) {
          return (float) Math.exp((double) x);
      }
  
      private static final double expm1(double x) {
          return Math.expm1(x);
      }
  
      private static final float expm1(float x) {
          return (float) Math.expm1((double) x);
      }
  
      private static final double floor(double x) {
          return Math.floor(x);
      }
  
      private static final float floor(float x) {
          return (float) Math.floor((double) x);
      }
  
      private static final double getAbsoluteValue(double $this$absoluteValue) {
          return Math.abs($this$absoluteValue);
      }
  
      private static final float getAbsoluteValue(float $this$absoluteValue) {
          return Math.abs($this$absoluteValue);
      }
  
      private static final int getAbsoluteValue(int $this$absoluteValue) {
          return Math.abs($this$absoluteValue);
      }
  
      private static final long getAbsoluteValue(long $this$absoluteValue) {
          return Math.abs($this$absoluteValue);
      }
  
      public static /* synthetic */ void getAbsoluteValue$annotations(double d) {
      }
  
      public static /* synthetic */ void getAbsoluteValue$annotations(float f) {
      }
  
      public static /* synthetic */ void getAbsoluteValue$annotations(int i) {
      }
  
      public static /* synthetic */ void getAbsoluteValue$annotations(long j) {
      }
  
      private static final double getSign(double $this$sign) {
          return Math.signum($this$sign);
      }
  
      private static final float getSign(float $this$sign) {
          return Math.signum($this$sign);
      }
  
      public static final int getSign(int $this$sign) {
          if ($this$sign < 0) {
              return -1;
          }
          return $this$sign > 0 ? 1 : 0;
      }
  
      public static final int getSign(long $this$sign) {
          if ($this$sign < 0) {
              return -1;
          }
          return $this$sign > 0 ? 1 : 0;
      }
  
      public static /* synthetic */ void getSign$annotations(double d) {
      }
  
      public static /* synthetic */ void getSign$annotations(float f) {
      }
  
      public static /* synthetic */ void getSign$annotations(int i) {
      }
  
      public static /* synthetic */ void getSign$annotations(long j) {
      }
  
      private static final double getUlp(double $this$ulp) {
          return Math.ulp($this$ulp);
      }
  
      private static final float getUlp(float $this$ulp) {
          return Math.ulp($this$ulp);
      }
  
      public static /* synthetic */ void getUlp$annotations(double d) {
      }
  
      public static /* synthetic */ void getUlp$annotations(float f) {
      }
  
      private static final double hypot(double x, double y) {
          return Math.hypot(x, y);
      }
  
      private static final float hypot(float x, float y) {
          return (float) Math.hypot((double) x, (double) y);
      }
  
      private static final double ln(double x) {
          return Math.log(x);
      }
  
      private static final float ln(float x) {
          return (float) Math.log((double) x);
      }
  
      private static final double ln1p(double x) {
          return Math.log1p(x);
      }
  
      private static final float ln1p(float x) {
          return (float) Math.log1p((double) x);
      }
  
      public static final double log(double x, double base) {
          if (base <= 0.0d) {
              return Double.NaN;
          }
          if (base == 1.0d) {
              return Double.NaN;
          }
          return Math.log(x) / Math.log(base);
      }
  
      public static final float log(float x, float base) {
          if (base <= 0.0f) {
              return Float.NaN;
          }
          if (base == 1.0f) {
              return Float.NaN;
          }
          return (float) (Math.log((double) x) / Math.log((double) base));
      }
  
      private static final double log10(double x) {
          return Math.log10(x);
      }
  
      private static final float log10(float x) {
          return (float) Math.log10((double) x);
      }
  
      public static final double log2(double x) {
          return Math.log(x) / Constants.LN2;
      }
  
      public static final float log2(float x) {
          return (float) (Math.log((double) x) / Constants.LN2);
      }
  
      private static final double max(double a, double b) {
          return Math.max(a, b);
      }
  
      private static final float max(float a, float b) {
          return Math.max(a, b);
      }
  
      private static final int max(int a, int b) {
          return Math.max(a, b);
      }
  
      private static final long max(long a, long b) {
          return Math.max(a, b);
      }
  
      private static final double min(double a, double b) {
          return Math.min(a, b);
      }
  
      private static final float min(float a, float b) {
          return Math.min(a, b);
      }
  
      private static final int min(int a, int b) {
          return Math.min(a, b);
      }
  
      private static final long min(long a, long b) {
          return Math.min(a, b);
      }
  
      private static final double nextDown(double $this$nextDown) {
          return Math.nextAfter($this$nextDown, Double.NEGATIVE_INFINITY);
      }
  
      private static final float nextDown(float $this$nextDown) {
          return Math.nextAfter($this$nextDown, Double.NEGATIVE_INFINITY);
      }
  
      private static final double nextTowards(double $this$nextTowards, double to) {
          return Math.nextAfter($this$nextTowards, to);
      }
  
      private static final float nextTowards(float $this$nextTowards, float to) {
          return Math.nextAfter($this$nextTowards, (double) to);
      }
  
      private static final double nextUp(double $this$nextUp) {
          return Math.nextUp($this$nextUp);
      }
  
      private static final float nextUp(float $this$nextUp) {
          return Math.nextUp($this$nextUp);
      }
  
      private static final double pow(double $this$pow, double x) {
          return Math.pow($this$pow, x);
      }
  
      private static final double pow(double $this$pow, int n) {
          return Math.pow($this$pow, (double) n);
      }
  
      private static final float pow(float $this$pow, float x) {
          return (float) Math.pow((double) $this$pow, (double) x);
      }
  
      private static final float pow(float $this$pow, int n) {
          return (float) Math.pow((double) $this$pow, (double) n);
      }
  
      private static final double round(double x) {
          return Math.rint(x);
      }
  
      private static final float round(float x) {
          return (float) Math.rint((double) x);
      }
  
      public static final int roundToInt(double $this$roundToInt) {
          if (Double.isNaN($this$roundToInt)) {
              throw new IllegalArgumentException("Cannot round NaN value.");
          } else if ($this$roundToInt > 2.147483647E9d) {
              return Integer.MAX_VALUE;
          } else {
              if ($this$roundToInt < -2.147483648E9d) {
                  return Integer.MIN_VALUE;
              }
              return (int) Math.round($this$roundToInt);
          }
      }
  
      public static final int roundToInt(float $this$roundToInt) {
          if (!Float.isNaN($this$roundToInt)) {
              return Math.round($this$roundToInt);
          }
          throw new IllegalArgumentException("Cannot round NaN value.");
      }
  
      public static final long roundToLong(double $this$roundToLong) {
          if (!Double.isNaN($this$roundToLong)) {
              return Math.round($this$roundToLong);
          }
          throw new IllegalArgumentException("Cannot round NaN value.");
      }
  
      public static final long roundToLong(float $this$roundToLong) {
          return MathKt.roundToLong((double) $this$roundToLong);
      }
  
      private static final double sign(double x) {
          return Math.signum(x);
      }
  
      private static final float sign(float x) {
          return Math.signum(x);
      }
  
      private static final double sin(double x) {
          return Math.sin(x);
      }
  
      private static final float sin(float x) {
          return (float) Math.sin((double) x);
      }
  
      private static final double sinh(double x) {
          return Math.sinh(x);
      }
  
      private static final float sinh(float x) {
          return (float) Math.sinh((double) x);
      }
  
      private static final double sqrt(double x) {
          return Math.sqrt(x);
      }
  
      private static final float sqrt(float x) {
          return (float) Math.sqrt((double) x);
      }
  
      private static final double tan(double x) {
          return Math.tan(x);
      }
  
      private static final float tan(float x) {
          return (float) Math.tan((double) x);
      }
  
      private static final double tanh(double x) {
          return Math.tanh(x);
      }
  
      private static final float tanh(float x) {
          return (float) Math.tanh((double) x);
      }
  
      public static final double truncate(double x) {
          return (Double.isNaN(x) || Double.isInfinite(x)) ? x : x > 0.0d ? Math.floor(x) : Math.ceil(x);
      }
  
      public static final float truncate(float x) {
          return (Float.isNaN(x) || Float.isInfinite(x)) ? x : x > 0.0f ? (float) Math.floor((double) x) : (float) Math.ceil((double) x);
      }
  
      private static final double withSign(double $this$withSign, double sign) {
          return Math.copySign($this$withSign, sign);
      }
  
      private static final double withSign(double $this$withSign, int sign) {
          return Math.copySign($this$withSign, (double) sign);
      }
  
      private static final float withSign(float $this$withSign, float sign) {
          return Math.copySign($this$withSign, sign);
      }
  
      private static final float withSign(float $this$withSign, int sign) {
          return Math.copySign($this$withSign, (float) sign);
      }
  }
  