EOorg.EOeolang.EOmath.EOpi Maven / Gradle / Ivy
/*
* This file was auto-generated by eolang-maven-plugin
* on 2022-07-25T15:16:25.909Z. 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.719108Z by the compiler v.0.24.0.
*/
package EOorg.EOeolang.EOmath;
import org.eolang.*;
//
// 3.141592653589793
//
@XmirObject(name = "pi", oname = "pi", source = "/home/r/repo/target/eo/04-pull/org/eolang/math/pi.eo")
public final class EOpi extends PhDefault {
public EOpi(final Phi sigma) {
super(sigma);
this.add("φ", new AtOnce(new AtComposite(this, rho -> {
Phi ret = new EOorg.EOeolang.EOfloat(Phi.Φ);
ret = new PhLocated(ret, 30, 2);
ret = new PhWith(ret, "Δ", new Data.Value(3.141592653589793d));
return ret;
})));
}
}