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

EOorg.EOeolang.EOmath.EOnegative_infinity$EOplus Maven / Gradle / Ivy

/*
 * This file was auto-generated by eolang-maven-plugin
 * on 2022-07-25T15:16:28.486Z. 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.810985Z by the compiler v.0.24.0.
 */

package EOorg.EOeolang.EOmath;

import org.eolang.*;

//  
//   
//    
//      
//        
//          
//           
//         
//          
//           
//         
//       
//        
//         
//         
//       
//     
//     
//     
//   
//   
//   
//   
//   
//   
//   
//   
//   
//   
//   
//   
//   
//   
//   
//   
//   
//   
// 
@XmirObject(name = "negative-infinity$plus", oname = "plus", source = "/home/r/repo/target/eo/04-pull/org/eolang/math/negative-infinity.eo")
public final class EOnegative_infinity$EOplus extends PhDefault {
  public EOnegative_infinity$EOplus(final Phi sigma) {
    super(sigma);
    this.add("x", new AtFree(/* default */));
    this.add("φ", new AtOnce(new AtComposite(this, rho -> {
      Phi ret_base_base_base_base = new PhMethod(rho, "x");
        ret_base_base_base_base = new PhLocated(ret_base_base_base_base, 80, 8);
      Phi ret_base_base_base = new PhMethod(ret_base_base_base_base, "as-bytes");
        ret_base_base_base = new PhLocated(ret_base_base_base, 80, 9);
      Phi ret_base_base = new PhMethod(ret_base_base_base, "eq");
        ret_base_base = new PhLocated(ret_base_base, 80, 18);
      ret_base_base = new PhCopy(ret_base_base);
        Phi ret_base_base_1_base = Phi.Φ.attr("org").get().attr("eolang").get().attr("math").get().attr("nan").get();
          ret_base_base_1_base = new PhLocated(ret_base_base_1_base, 80, 23);
        Phi ret_base_base_1 = new PhMethod(ret_base_base_1_base, "as-bytes");
          ret_base_base_1 = new PhLocated(ret_base_base_1, 80, 26);
        ret_base_base = new PhWith(ret_base_base, 0, ret_base_base_1);
      Phi ret_base = new PhMethod(ret_base_base, "or");
        ret_base = new PhLocated(ret_base, 79, 6);
      ret_base = new PhCopy(ret_base);
        Phi ret_base_1_base = new PhMethod(rho, "x");
          ret_base_1_base = new PhLocated(ret_base_1_base, 81, 8);
        Phi ret_base_1 = new PhMethod(ret_base_1_base, "eq");
          ret_base_1 = new PhLocated(ret_base_1, 81, 9);
        ret_base_1 = new PhCopy(ret_base_1);
          Phi ret_base_1_1 = Phi.Φ.attr("org").get().attr("eolang").get().attr("math").get().attr("positive-infinity").get();
            ret_base_1_1 = new PhLocated(ret_base_1_1, 81, 13);
          ret_base_1 = new PhWith(ret_base_1, 0, ret_base_1_1);
        ret_base = new PhWith(ret_base, 0, ret_base_1);
      Phi ret = new PhMethod(ret_base, "if");
        ret = new PhLocated(ret, 78, 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, 82, 6);
        Phi ret_2 = new PhMethod(rho, "ρ");
          ret_2 = new PhLocated(ret_2, 83, 6);
        ret = new PhWith(ret, 0, ret_1);
        ret = new PhWith(ret, 1, ret_2);
      return ret;
    })));
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy