Decompiled Code For DSUM( B$2:F$8, "Yield", D$17:D$18 )
The expression
=DSUM( B$2:F$8, "Yield", D$17:D$18 )
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.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() { return get$2(get$1()); } public final double dbl() { return get$0(); } final double get$2(double d) { double d_0_ = 0.0; if (get$3(38566.59375, d)) d_0_ += 14.0; if (get$3(38566.59444444445, d)) d_0_ += 10.0; if (get$3(38598.0, d)) d_0_ += 9.0; if (get$3(0.3645833333333333, d)) d_0_ += 10.0; if (get$3(0.3638888888888889, d)) d_0_ += 8.0; if (get$3(0.36319444444444443, d)) d_0_ += 6.0; return d_0_; } final boolean get$3(double d, double d_1_) { if (d >= d_1_) return true; return false; } final double get$1() { return $inputs.dbl(0); } }