EOorg.EOeolang.EOmath.EOpi Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of eo-math Show documentation
Show all versions of eo-math Show documentation
Math Primitives for EO Programming Language
/*
* This file was auto-generated by eolang-maven-plugin
* on 2022-07-15T10:40:23.688Z. Don't edit it,
* your changes will be discarded on the next build.
*
* The EO sources were compiled to XMIR on
* 2022-07-15T10:39:10.392141Z 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/src/main/eo/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;
})));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy