Implements most of the remaining core standard functions
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2019-08-15 18:12:29 +02:00
parent 7523fb4294
commit 13b382def2
6 changed files with 173 additions and 25 deletions

View File

@@ -122,6 +122,11 @@ namespace Porygon::Evaluation {
return _value;
}
[[nodiscard]]
inline std::u16string EvaluateString() const final{
return Utilities::StringUtils::FloatToString(_value);
}
[[nodiscard]]
inline EvalValue* Clone() const final {
return new FloatEvalValue(_value);