Decompiled Code For MEDIAN( C882:H882 )
The expression
=MEDIAN( C882:H882 )
is compiled to the following class(es):
package org.formulacompiler.gen; import org.formulacompiler.runtime.Computation; import org.formulacompiler.runtime.internal.Environment; import org.formulacompiler.runtime.internal.RuntimeDouble_v2; import org.formulacompiler.tests.reference.base.Inputs; import org.formulacompiler.tests.reference.base.Outputs; final class $Root extends Outputs implements Computation { private final Inputs $inputs; final Environment $environment; $Root(Inputs inputs, Environment environment) { $environment = environment; $inputs = inputs; } final double get$0() { double d; double d_0_; return (get$7(d = 3.0) + get$14(d_0_ = 4.0)) / 2.0; } public final double dbl() { return get$0(); } final double get$7(double d) { double d_1_ = -1.7976931348623157E308; double d_2_ = 1.0; d_1_ = d_2_ > d ? d_1_ : get$8(d_2_, d_1_); d_2_++; d_1_ = d_2_ > d ? d_1_ : get$9(d_2_, d_1_); d_2_++; d_1_ = d_2_ > d ? d_1_ : get$10(d_2_, d_1_); d_2_++; d_1_ = d_2_ > d ? d_1_ : get$11(d_2_, d_1_); d_2_++; d_1_ = d_2_ > d ? d_1_ : get$12(d_2_, d_1_); d_2_++; d_1_ = d_2_ > d ? d_1_ : get$13(d_2_, d_1_); d_2_++; return d_1_; } final double get$8(double d, double d_3_) { double d_4_ = 1.7976931348623157E308; double d_5_ = 0.0; d_4_ = get$1() > d_3_ ? RuntimeDouble_v2.min(get$1(), d_4_) : d_4_; d_5_ = get$1() <= d_3_ ? d_5_ + 1.0 : d_5_; d_4_ = get$2() > d_3_ ? RuntimeDouble_v2.min(get$2(), d_4_) : d_4_; d_5_ = get$2() <= d_3_ ? d_5_ + 1.0 : d_5_; d_4_ = get$3() > d_3_ ? RuntimeDouble_v2.min(get$3(), d_4_) : d_4_; d_5_ = get$3() <= d_3_ ? d_5_ + 1.0 : d_5_; d_4_ = get$4() > d_3_ ? RuntimeDouble_v2.min(get$4(), d_4_) : d_4_; d_5_ = get$4() <= d_3_ ? d_5_ + 1.0 : d_5_; d_4_ = get$5() > d_3_ ? RuntimeDouble_v2.min(get$5(), d_4_) : d_4_; d_5_ = get$5() <= d_3_ ? d_5_ + 1.0 : d_5_; d_4_ = get$6() > d_3_ ? RuntimeDouble_v2.min(get$6(), d_4_) : d_4_; d_5_ = get$6() <= d_3_ ? d_5_ + 1.0 : d_5_; return d_5_ >= d ? d_3_ : d_4_; } final double get$9(double d, double d_6_) { double d_7_ = 1.7976931348623157E308; double d_8_ = 0.0; d_7_ = get$1() > d_6_ ? RuntimeDouble_v2.min(get$1(), d_7_) : d_7_; d_8_ = get$1() <= d_6_ ? d_8_ + 1.0 : d_8_; d_7_ = get$2() > d_6_ ? RuntimeDouble_v2.min(get$2(), d_7_) : d_7_; d_8_ = get$2() <= d_6_ ? d_8_ + 1.0 : d_8_; d_7_ = get$3() > d_6_ ? RuntimeDouble_v2.min(get$3(), d_7_) : d_7_; d_8_ = get$3() <= d_6_ ? d_8_ + 1.0 : d_8_; d_7_ = get$4() > d_6_ ? RuntimeDouble_v2.min(get$4(), d_7_) : d_7_; d_8_ = get$4() <= d_6_ ? d_8_ + 1.0 : d_8_; d_7_ = get$5() > d_6_ ? RuntimeDouble_v2.min(get$5(), d_7_) : d_7_; d_8_ = get$5() <= d_6_ ? d_8_ + 1.0 : d_8_; d_7_ = get$6() > d_6_ ? RuntimeDouble_v2.min(get$6(), d_7_) : d_7_; d_8_ = get$6() <= d_6_ ? d_8_ + 1.0 : d_8_; return d_8_ >= d ? d_6_ : d_7_; } final double get$10(double d, double d_9_) { double d_10_ = 1.7976931348623157E308; double d_11_ = 0.0; d_10_ = get$1() > d_9_ ? RuntimeDouble_v2.min(get$1(), d_10_) : d_10_; d_11_ = get$1() <= d_9_ ? d_11_ + 1.0 : d_11_; d_10_ = get$2() > d_9_ ? RuntimeDouble_v2.min(get$2(), d_10_) : d_10_; d_11_ = get$2() <= d_9_ ? d_11_ + 1.0 : d_11_; d_10_ = get$3() > d_9_ ? RuntimeDouble_v2.min(get$3(), d_10_) : d_10_; d_11_ = get$3() <= d_9_ ? d_11_ + 1.0 : d_11_; d_10_ = get$4() > d_9_ ? RuntimeDouble_v2.min(get$4(), d_10_) : d_10_; d_11_ = get$4() <= d_9_ ? d_11_ + 1.0 : d_11_; d_10_ = get$5() > d_9_ ? RuntimeDouble_v2.min(get$5(), d_10_) : d_10_; d_11_ = get$5() <= d_9_ ? d_11_ + 1.0 : d_11_; d_10_ = get$6() > d_9_ ? RuntimeDouble_v2.min(get$6(), d_10_) : d_10_; d_11_ = get$6() <= d_9_ ? d_11_ + 1.0 : d_11_; return d_11_ >= d ? d_9_ : d_10_; } final double get$11(double d, double d_12_) { double d_13_ = 1.7976931348623157E308; double d_14_ = 0.0; d_13_ = get$1() > d_12_ ? RuntimeDouble_v2.min(get$1(), d_13_) : d_13_; d_14_ = get$1() <= d_12_ ? d_14_ + 1.0 : d_14_; d_13_ = get$2() > d_12_ ? RuntimeDouble_v2.min(get$2(), d_13_) : d_13_; d_14_ = get$2() <= d_12_ ? d_14_ + 1.0 : d_14_; d_13_ = get$3() > d_12_ ? RuntimeDouble_v2.min(get$3(), d_13_) : d_13_; d_14_ = get$3() <= d_12_ ? d_14_ + 1.0 : d_14_; d_13_ = get$4() > d_12_ ? RuntimeDouble_v2.min(get$4(), d_13_) : d_13_; d_14_ = get$4() <= d_12_ ? d_14_ + 1.0 : d_14_; d_13_ = get$5() > d_12_ ? RuntimeDouble_v2.min(get$5(), d_13_) : d_13_; d_14_ = get$5() <= d_12_ ? d_14_ + 1.0 : d_14_; d_13_ = get$6() > d_12_ ? RuntimeDouble_v2.min(get$6(), d_13_) : d_13_; d_14_ = get$6() <= d_12_ ? d_14_ + 1.0 : d_14_; return d_14_ >= d ? d_12_ : d_13_; } final double get$12(double d, double d_15_) { double d_16_ = 1.7976931348623157E308; double d_17_ = 0.0; d_16_ = get$1() > d_15_ ? RuntimeDouble_v2.min(get$1(), d_16_) : d_16_; d_17_ = get$1() <= d_15_ ? d_17_ + 1.0 : d_17_; d_16_ = get$2() > d_15_ ? RuntimeDouble_v2.min(get$2(), d_16_) : d_16_; d_17_ = get$2() <= d_15_ ? d_17_ + 1.0 : d_17_; d_16_ = get$3() > d_15_ ? RuntimeDouble_v2.min(get$3(), d_16_) : d_16_; d_17_ = get$3() <= d_15_ ? d_17_ + 1.0 : d_17_; d_16_ = get$4() > d_15_ ? RuntimeDouble_v2.min(get$4(), d_16_) : d_16_; d_17_ = get$4() <= d_15_ ? d_17_ + 1.0 : d_17_; d_16_ = get$5() > d_15_ ? RuntimeDouble_v2.min(get$5(), d_16_) : d_16_; d_17_ = get$5() <= d_15_ ? d_17_ + 1.0 : d_17_; d_16_ = get$6() > d_15_ ? RuntimeDouble_v2.min(get$6(), d_16_) : d_16_; d_17_ = get$6() <= d_15_ ? d_17_ + 1.0 : d_17_; return d_17_ >= d ? d_15_ : d_16_; } final double get$13(double d, double d_18_) { double d_19_ = 1.7976931348623157E308; double d_20_ = 0.0; d_19_ = get$1() > d_18_ ? RuntimeDouble_v2.min(get$1(), d_19_) : d_19_; d_20_ = get$1() <= d_18_ ? d_20_ + 1.0 : d_20_; d_19_ = get$2() > d_18_ ? RuntimeDouble_v2.min(get$2(), d_19_) : d_19_; d_20_ = get$2() <= d_18_ ? d_20_ + 1.0 : d_20_; d_19_ = get$3() > d_18_ ? RuntimeDouble_v2.min(get$3(), d_19_) : d_19_; d_20_ = get$3() <= d_18_ ? d_20_ + 1.0 : d_20_; d_19_ = get$4() > d_18_ ? RuntimeDouble_v2.min(get$4(), d_19_) : d_19_; d_20_ = get$4() <= d_18_ ? d_20_ + 1.0 : d_20_; d_19_ = get$5() > d_18_ ? RuntimeDouble_v2.min(get$5(), d_19_) : d_19_; d_20_ = get$5() <= d_18_ ? d_20_ + 1.0 : d_20_; d_19_ = get$6() > d_18_ ? RuntimeDouble_v2.min(get$6(), d_19_) : d_19_; d_20_ = get$6() <= d_18_ ? d_20_ + 1.0 : d_20_; return d_20_ >= d ? d_18_ : d_19_; } final double get$14(double d) { double d_21_ = -1.7976931348623157E308; double d_22_ = 1.0; d_21_ = d_22_ > d ? d_21_ : get$15(d_22_, d_21_); d_22_++; d_21_ = d_22_ > d ? d_21_ : get$16(d_22_, d_21_); d_22_++; d_21_ = d_22_ > d ? d_21_ : get$17(d_22_, d_21_); d_22_++; d_21_ = d_22_ > d ? d_21_ : get$18(d_22_, d_21_); d_22_++; d_21_ = d_22_ > d ? d_21_ : get$19(d_22_, d_21_); d_22_++; d_21_ = d_22_ > d ? d_21_ : get$20(d_22_, d_21_); d_22_++; return d_21_; } final double get$15(double d, double d_23_) { double d_24_ = 1.7976931348623157E308; double d_25_ = 0.0; d_24_ = get$1() > d_23_ ? RuntimeDouble_v2.min(get$1(), d_24_) : d_24_; d_25_ = get$1() <= d_23_ ? d_25_ + 1.0 : d_25_; d_24_ = get$2() > d_23_ ? RuntimeDouble_v2.min(get$2(), d_24_) : d_24_; d_25_ = get$2() <= d_23_ ? d_25_ + 1.0 : d_25_; d_24_ = get$3() > d_23_ ? RuntimeDouble_v2.min(get$3(), d_24_) : d_24_; d_25_ = get$3() <= d_23_ ? d_25_ + 1.0 : d_25_; d_24_ = get$4() > d_23_ ? RuntimeDouble_v2.min(get$4(), d_24_) : d_24_; d_25_ = get$4() <= d_23_ ? d_25_ + 1.0 : d_25_; d_24_ = get$5() > d_23_ ? RuntimeDouble_v2.min(get$5(), d_24_) : d_24_; d_25_ = get$5() <= d_23_ ? d_25_ + 1.0 : d_25_; d_24_ = get$6() > d_23_ ? RuntimeDouble_v2.min(get$6(), d_24_) : d_24_; d_25_ = get$6() <= d_23_ ? d_25_ + 1.0 : d_25_; return d_25_ >= d ? d_23_ : d_24_; } final double get$16(double d, double d_26_) { double d_27_ = 1.7976931348623157E308; double d_28_ = 0.0; d_27_ = get$1() > d_26_ ? RuntimeDouble_v2.min(get$1(), d_27_) : d_27_; d_28_ = get$1() <= d_26_ ? d_28_ + 1.0 : d_28_; d_27_ = get$2() > d_26_ ? RuntimeDouble_v2.min(get$2(), d_27_) : d_27_; d_28_ = get$2() <= d_26_ ? d_28_ + 1.0 : d_28_; d_27_ = get$3() > d_26_ ? RuntimeDouble_v2.min(get$3(), d_27_) : d_27_; d_28_ = get$3() <= d_26_ ? d_28_ + 1.0 : d_28_; d_27_ = get$4() > d_26_ ? RuntimeDouble_v2.min(get$4(), d_27_) : d_27_; d_28_ = get$4() <= d_26_ ? d_28_ + 1.0 : d_28_; d_27_ = get$5() > d_26_ ? RuntimeDouble_v2.min(get$5(), d_27_) : d_27_; d_28_ = get$5() <= d_26_ ? d_28_ + 1.0 : d_28_; d_27_ = get$6() > d_26_ ? RuntimeDouble_v2.min(get$6(), d_27_) : d_27_; d_28_ = get$6() <= d_26_ ? d_28_ + 1.0 : d_28_; return d_28_ >= d ? d_26_ : d_27_; } final double get$17(double d, double d_29_) { double d_30_ = 1.7976931348623157E308; double d_31_ = 0.0; d_30_ = get$1() > d_29_ ? RuntimeDouble_v2.min(get$1(), d_30_) : d_30_; d_31_ = get$1() <= d_29_ ? d_31_ + 1.0 : d_31_; d_30_ = get$2() > d_29_ ? RuntimeDouble_v2.min(get$2(), d_30_) : d_30_; d_31_ = get$2() <= d_29_ ? d_31_ + 1.0 : d_31_; d_30_ = get$3() > d_29_ ? RuntimeDouble_v2.min(get$3(), d_30_) : d_30_; d_31_ = get$3() <= d_29_ ? d_31_ + 1.0 : d_31_; d_30_ = get$4() > d_29_ ? RuntimeDouble_v2.min(get$4(), d_30_) : d_30_; d_31_ = get$4() <= d_29_ ? d_31_ + 1.0 : d_31_; d_30_ = get$5() > d_29_ ? RuntimeDouble_v2.min(get$5(), d_30_) : d_30_; d_31_ = get$5() <= d_29_ ? d_31_ + 1.0 : d_31_; d_30_ = get$6() > d_29_ ? RuntimeDouble_v2.min(get$6(), d_30_) : d_30_; d_31_ = get$6() <= d_29_ ? d_31_ + 1.0 : d_31_; return d_31_ >= d ? d_29_ : d_30_; } final double get$18(double d, double d_32_) { double d_33_ = 1.7976931348623157E308; double d_34_ = 0.0; d_33_ = get$1() > d_32_ ? RuntimeDouble_v2.min(get$1(), d_33_) : d_33_; d_34_ = get$1() <= d_32_ ? d_34_ + 1.0 : d_34_; d_33_ = get$2() > d_32_ ? RuntimeDouble_v2.min(get$2(), d_33_) : d_33_; d_34_ = get$2() <= d_32_ ? d_34_ + 1.0 : d_34_; d_33_ = get$3() > d_32_ ? RuntimeDouble_v2.min(get$3(), d_33_) : d_33_; d_34_ = get$3() <= d_32_ ? d_34_ + 1.0 : d_34_; d_33_ = get$4() > d_32_ ? RuntimeDouble_v2.min(get$4(), d_33_) : d_33_; d_34_ = get$4() <= d_32_ ? d_34_ + 1.0 : d_34_; d_33_ = get$5() > d_32_ ? RuntimeDouble_v2.min(get$5(), d_33_) : d_33_; d_34_ = get$5() <= d_32_ ? d_34_ + 1.0 : d_34_; d_33_ = get$6() > d_32_ ? RuntimeDouble_v2.min(get$6(), d_33_) : d_33_; d_34_ = get$6() <= d_32_ ? d_34_ + 1.0 : d_34_; return d_34_ >= d ? d_32_ : d_33_; } final double get$19(double d, double d_35_) { double d_36_ = 1.7976931348623157E308; double d_37_ = 0.0; d_36_ = get$1() > d_35_ ? RuntimeDouble_v2.min(get$1(), d_36_) : d_36_; d_37_ = get$1() <= d_35_ ? d_37_ + 1.0 : d_37_; d_36_ = get$2() > d_35_ ? RuntimeDouble_v2.min(get$2(), d_36_) : d_36_; d_37_ = get$2() <= d_35_ ? d_37_ + 1.0 : d_37_; d_36_ = get$3() > d_35_ ? RuntimeDouble_v2.min(get$3(), d_36_) : d_36_; d_37_ = get$3() <= d_35_ ? d_37_ + 1.0 : d_37_; d_36_ = get$4() > d_35_ ? RuntimeDouble_v2.min(get$4(), d_36_) : d_36_; d_37_ = get$4() <= d_35_ ? d_37_ + 1.0 : d_37_; d_36_ = get$5() > d_35_ ? RuntimeDouble_v2.min(get$5(), d_36_) : d_36_; d_37_ = get$5() <= d_35_ ? d_37_ + 1.0 : d_37_; d_36_ = get$6() > d_35_ ? RuntimeDouble_v2.min(get$6(), d_36_) : d_36_; d_37_ = get$6() <= d_35_ ? d_37_ + 1.0 : d_37_; return d_37_ >= d ? d_35_ : d_36_; } final double get$20(double d, double d_38_) { double d_39_ = 1.7976931348623157E308; double d_40_ = 0.0; d_39_ = get$1() > d_38_ ? RuntimeDouble_v2.min(get$1(), d_39_) : d_39_; d_40_ = get$1() <= d_38_ ? d_40_ + 1.0 : d_40_; d_39_ = get$2() > d_38_ ? RuntimeDouble_v2.min(get$2(), d_39_) : d_39_; d_40_ = get$2() <= d_38_ ? d_40_ + 1.0 : d_40_; d_39_ = get$3() > d_38_ ? RuntimeDouble_v2.min(get$3(), d_39_) : d_39_; d_40_ = get$3() <= d_38_ ? d_40_ + 1.0 : d_40_; d_39_ = get$4() > d_38_ ? RuntimeDouble_v2.min(get$4(), d_39_) : d_39_; d_40_ = get$4() <= d_38_ ? d_40_ + 1.0 : d_40_; d_39_ = get$5() > d_38_ ? RuntimeDouble_v2.min(get$5(), d_39_) : d_39_; d_40_ = get$5() <= d_38_ ? d_40_ + 1.0 : d_40_; d_39_ = get$6() > d_38_ ? RuntimeDouble_v2.min(get$6(), d_39_) : d_39_; d_40_ = get$6() <= d_38_ ? d_40_ + 1.0 : d_40_; return d_40_ >= d ? d_38_ : d_39_; } final double get$1() { return $inputs.dbl(0); } final double get$2() { return $inputs.dbl(1); } final double get$3() { return $inputs.dbl(2); } final double get$4() { return $inputs.dbl(3); } final double get$5() { return $inputs.dbl(4); } final double get$6() { return $inputs.dbl(5); } }