@Override public HalBoolean eq(HalNumber n) { return new HalBoolean(toFloat().equals(n.toFloat())); }
@Override public HalBoolean lt(HalNumber n) { return new HalBoolean(toFloat() < n.toFloat()); }
@Override public HalNumber div(HalNumber n) { return new HalFloat(toFloat() / n.toFloat()); }
@Override public HalNumber pow(HalNumber n) { return new HalFloat(Math.pow(toFloat(), n.toFloat())); }
@Override public HalNumber mul(HalNumber n) { return new HalFloat(toFloat() * n.toFloat()); }
@Override public HalNumber sub(HalNumber n) { return new HalFloat(toFloat() - n.toFloat()); }
@Override public HalNumber add(HalNumber n) { return new HalFloat(toFloat() + n.toFloat()); }