Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -464,6 +464,9 @@ public class HexActions {
public static final ActionRegistryEntry CONST$E = make("const/double/e",
new ActionRegistryEntry(HexPattern.fromAngles("aaq",
HexDir.EAST), Action.makeConstantOp(new DoubleIota(Math.E))));
public static final ActionRegistryEntry CONST$PHI = make("const/double/phi",
new ActionRegistryEntry(HexPattern.fromAngles("wdded",
HexDir.NORTH_EAST), Action.makeConstantOp(new DoubleIota(1.618033988749895))));

// == Entities ==

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -695,6 +695,7 @@
pi: "Arc's Reflection",
tau: "Circle's Reflection",
"e": "Euler's Reflection",
"phi": "Harmony Reflection",
Comment on lines 697 to +698

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"e": "Euler's Reflection",
"phi": "Harmony Reflection",
e: "Euler's Reflection",
phi: "Harmony Reflection",

},
},

Expand Down Expand Up @@ -1788,6 +1789,7 @@
tau: "Adds τ, the radial representation of a complete circle, to the stack.",
pi: "Adds π, the radial representation of half a circle, to the stack.",
"e": "Adds $(italic)e/$, the base of natural logarithms, to the stack.",
"phi": "Adds $(italic)φ/$, the ratio of a whole to its greater part, to the stack.",
Comment on lines 1791 to +1792

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • description probably needs some work (tentative description suggested; what does the golden ratio do again?)
  • I'd unquote phi (and e) for consistency
  • other greek letters aren't italicized
Suggested change
"e": "Adds $(italic)e/$, the base of natural logarithms, to the stack.",
"phi": "Adds $(italic)φ/$, the ratio of a whole to its greater part, to the stack.",
e: "Adds $(italic)e/$, the base of natural logarithms, to the stack.",
phi: "Adds φ, the golden ratio, to the stack.",

},
},

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,14 @@
"input": "",
"output": "num",
"text": "hexcasting.page.consts.const/double/e"
},
{
"type": "hexcasting:pattern",
"op_id": "hexcasting:const/double/phi",
"anchor": "hexcasting:const/double/phi",
"input": "",
"output": "num",
"text": "hexcasting.page.consts.const/double/phi"
}
]
}

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading