All Downloads are FREE. Search and download functionalities are using the official Maven repository.

EOorg.EOeolang.EOmath.EOangle$EOctan Maven / Gradle / Ivy

/*
 * This file was auto-generated by eolang-maven-plugin
 * on 2022-07-25T15:16:26.277Z. Don't edit it,
 * your changes will be discarded on the next build.
 *
 * The EO sources were compiled to XMIR on
 * 2022-07-25T15:15:45.728320Z by the compiler v.0.24.0.
 */

package EOorg.EOeolang.EOmath;

import org.eolang.*;

//  
//    
//     
//   
//    
//      
//       
//       0.0
//     
//     
//      
//        
//         
//       
//       
//     
//   
//   
//   
//   
//   
//   
//   
// 
@XmirObject(name = "angle$ctan", oname = "ctan", source = "/home/r/repo/target/eo/04-pull/org/eolang/math/angle.eo")
public final class EOangle$EOctan extends PhDefault {
  public EOangle$EOctan(final Phi sigma) {
    super(sigma);
    this.add("sine", new AtOnce(new AtComposite(this, rho -> {
      Phi ret_base = new PhMethod(rho, "ρ");
        ret_base = new PhLocated(ret_base, 52, 4);
      Phi ret = new PhMethod(ret_base, "sin");
        ret = new PhLocated(ret, 52, 5);
      ret = new PhConst(ret);
      return ret;
    })));
    this.add("φ", new AtOnce(new AtComposite(this, rho -> {
      Phi ret_base_base = new PhMethod(rho, "sine");
        ret_base_base = new PhLocated(ret_base_base, 54, 6);
      Phi ret_base = new PhMethod(ret_base_base, "eq");
        ret_base = new PhLocated(ret_base, 54, 10);
      ret_base = new PhCopy(ret_base);
        Phi ret_base_1 = new EOorg.EOeolang.EOfloat(Phi.Φ);
          ret_base_1 = new PhLocated(ret_base_1, 54, 14);
          ret_base_1 = new PhWith(ret_base_1, "Δ", new Data.Value(0.0d));
        ret_base = new PhWith(ret_base, 0, ret_base_1);
      Phi ret = new PhMethod(ret_base, "if");
        ret = new PhLocated(ret, 53, 4);
      ret = new PhCopy(ret);
        Phi ret_1 = Phi.Φ.attr("org").get().attr("eolang").get().attr("math").get().attr("nan").get();
          ret_1 = new PhLocated(ret_1, 55, 6);
        Phi ret_2_base_base = new PhMethod(rho, "ρ");
          ret_2_base_base = new PhLocated(ret_2_base_base, 57, 8);
        Phi ret_2_base = new PhMethod(ret_2_base_base, "cos");
          ret_2_base = new PhLocated(ret_2_base, 57, 9);
        Phi ret_2 = new PhMethod(ret_2_base, "div");
          ret_2 = new PhLocated(ret_2, 56, 6);
        ret_2 = new PhCopy(ret_2);
          Phi ret_2_1 = new PhMethod(rho, "sine");
            ret_2_1 = new PhLocated(ret_2_1, 58, 8);
          ret_2 = new PhWith(ret_2, 0, ret_2_1);
        ret = new PhWith(ret, 0, ret_1);
        ret = new PhWith(ret, 1, ret_2);
      return ret;
    })));
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy