Updated __toString() methods for Arithmetic Instructions

This commit is contained in:
Netkas 2022-12-30 02:41:41 -05:00
parent e11efb01b9
commit deccb1f6fa
10 changed files with 10 additions and 10 deletions

View file

@ -80,7 +80,7 @@
public function __toString(): string
{
return sprintf(
self::getType() . ' (%s+%s)',
self::getType() . ' %s',
Utilities::entityToString($this->Value),
);
}

View file

@ -94,7 +94,7 @@
public function __toString(): string
{
return sprintf(
self::getType() . ' (%s/%s)',
self::getType() . ' %s / %s',
Utilities::entityToString($this->A),
Utilities::entityToString($this->B)
);

View file

@ -80,7 +80,7 @@
public function __toString(): string
{
return sprintf(
self::getType() . ' (%s+%s)',
self::getType() . ' %s',
Utilities::entityToString($this->Value),
);
}

View file

@ -90,7 +90,7 @@
public function __toString(): string
{
return sprintf(
self::getType() . ' (%s%%s)',
self::getType() . ' %s % %s',
Utilities::entityToString($this->A),
Utilities::entityToString($this->B)
);

View file

@ -90,7 +90,7 @@
public function __toString(): string
{
return sprintf(
self::getType() . ' (%s*%s)',
self::getType() . ' %s * %s',
Utilities::entityToString($this->A),
Utilities::entityToString($this->B)
);

View file

@ -90,7 +90,7 @@
public function __toString(): string
{
return sprintf(
self::getType() . ' (%s**%s)',
self::getType() . ' %s ^ %s',
Utilities::entityToString($this->A),
Utilities::entityToString($this->B)
);

View file

@ -94,7 +94,7 @@
public function __toString(): string
{
return sprintf(
self::getType() . ' (%s+%s)',
self::getType() . ' %s',
Utilities::entityToString($this->Value),
);
}

View file

@ -80,7 +80,7 @@
public function __toString(): string
{
return sprintf(
self::getType() . ' (%s+%s)',
self::getType() . ' %s',
Utilities::entityToString($this->Value),
);
}

View file

@ -90,7 +90,7 @@
public function __toString(): string
{
return sprintf(
self::getType() . ' (%s-%s)',
self::getType() . ' %s - %s',
Utilities::entityToString($this->A),
Utilities::entityToString($this->B)
);

View file

@ -90,7 +90,7 @@
public function __toString(): string
{
return sprintf(
self::getType() . ' (%s+%s)',
self::getType() . ' %s %s',
Utilities::entityToString($this->A),
Utilities::entityToString($this->B)
);