docs: 统一优化类型转换注释消除歧义

This commit is contained in:
Luke 2025-07-11 10:21:33 +08:00
parent e7d7e7f96f
commit 58a2c88b2b
30 changed files with 30 additions and 30 deletions

View File

@ -16,7 +16,7 @@ import org.jcnc.snow.vm.module.OperandStack;
* <li>Push the converted double64 value back onto the operand stack for subsequent operations.</li>
* </ol>
*
* <p>This opcode is used to widen a byte8 value to a double64 type to ensure compatibility with integer-based operations.</p>
* <p>This opcode is used to widen a byte8 value to a double64 type.</p>
*/
public class B2DCommand implements Command {

View File

@ -16,7 +16,7 @@ import org.jcnc.snow.vm.module.OperandStack;
* <li>Push the converted float32 value back onto the operand stack for subsequent operations.</li>
* </ol>
*
* <p>This opcode is used to widen a byte8 value to a float32 type to ensure compatibility with integer-based operations.</p>
* <p>This opcode is used to widen a byte8 value to a float32 type.</p>
*/
public class B2FCommand implements Command {

View File

@ -16,7 +16,7 @@ import org.jcnc.snow.vm.module.OperandStack;
* <li>Push the converted int32 value back onto the operand stack for subsequent operations.</li>
* </ol>
*
* <p>This opcode is used to widen a byte8 value to an int32 type to ensure compatibility with integer-based operations.</p>
* <p>This opcode is used to widen a byte8 value to an int32 type.</p>
*/
public class B2ICommand implements Command {

View File

@ -16,7 +16,7 @@ import org.jcnc.snow.vm.module.OperandStack;
* <li>Push the converted long64 value back onto the operand stack for subsequent operations.</li>
* </ol>
*
* <p>This opcode is used to widen a byte8 value to a long64 type to ensure compatibility with integer-based operations.</p>
* <p>This opcode is used to widen a byte8 value to a long64 type.</p>
*/
public class B2LCommand implements Command {

View File

@ -16,7 +16,7 @@ import org.jcnc.snow.vm.module.OperandStack;
* <li>Push the converted short16 value back onto the operand stack for subsequent operations.</li>
* </ol>
*
* <p>This opcode is used to widen a byte8 value to a short16 type to ensure compatibility with integer-based operations.</p>
* <p>This opcode is used to widen a byte8 value to a short16 type.</p>
*/
public class B2SCommand implements Command {

View File

@ -16,7 +16,7 @@ import org.jcnc.snow.vm.module.OperandStack;
* <li>Push the converted byte8 value back onto the operand stack for subsequent operations.</li>
* </ol>
*
* <p>This opcode is used to narrow a double64 value to a byte8 type for further integer-based operations.</p>
* <p>This opcode is used to narrow a double64 value to a byte8 type.</p>
*/
public class D2BCommand implements Command {

View File

@ -16,7 +16,7 @@ import org.jcnc.snow.vm.module.OperandStack;
* <li>Push the converted float32 value back onto the operand stack for subsequent operations.</li>
* </ol>
*
* <p>This opcode is used to narrow a double64 value to a float32 type when lower precision floating-point arithmetic is acceptable.</p>
* <p>This opcode is used to narrow a double64 value to a float32 type.</p>
*/
public class D2FCommand implements Command {

View File

@ -16,7 +16,7 @@ import org.jcnc.snow.vm.module.OperandStack;
* <li>Push the converted int32 value back onto the operand stack for subsequent operations.</li>
* </ol>
*
* <p>This opcode is used to narrow a double64 value to an int32 type for further integer-based operations.</p>
* <p>This opcode is used to narrow a double64 value to an int32 type.</p>
*/
public class D2ICommand implements Command {

View File

@ -16,7 +16,7 @@ import org.jcnc.snow.vm.module.OperandStack;
* <li>Push the converted long64 value back onto the operand stack for subsequent operations.</li>
* </ol>
*
* <p>This opcode is used to narrow a double64 value to a long64 type, which can then be used for integer operations.</p>
* <p>This opcode is used to narrow a double64 value to a long64 type.</p>
*/
public class D2LCommand implements Command {

View File

@ -16,7 +16,7 @@ import org.jcnc.snow.vm.module.OperandStack;
* <li>Push the converted short16 value back onto the operand stack for subsequent operations.</li>
* </ol>
*
* <p>This opcode is used to narrow a double64 value to a short16 type for further integer-based operations.</p>
* <p>This opcode is used to narrow a double64 value to a short16 type.</p>
*/
public class D2SCommand implements Command {

View File

@ -16,7 +16,7 @@ import org.jcnc.snow.vm.module.OperandStack;
* <li>Push the converted byte8 value back onto the operand stack for subsequent operations.</li>
* </ol>
*
* <p>This opcode is used to convert a float32 value to a byte8 type for further integer operations or comparisons.</p>
* <p>This opcode is used to convert a float32 value to a byte8 type.</p>
*/
public class F2BCommand implements Command {

View File

@ -16,7 +16,7 @@ import org.jcnc.snow.vm.module.OperandStack;
* <li>Push the converted double64 value back onto the operand stack for subsequent operations.</li>
* </ol>
*
* <p>This opcode is used to promote a float32 value to a double64 type, thereby increasing precision for floating-point computations.</p>
* <p>This opcode is used to promote a float32 value to a double64 type.</p>
*/
public class F2DCommand implements Command {

View File

@ -16,7 +16,7 @@ import org.jcnc.snow.vm.module.OperandStack;
* <li>Push the converted int32 value back onto the operand stack for subsequent operations.</li>
* </ol>
*
* <p>This opcode is used to convert a float32 value to an int32 type for further integer operations or comparisons.</p>
* <p>This opcode is used to convert a float32 value to an int32 type.</p>
*/
public class F2ICommand implements Command {

View File

@ -16,7 +16,7 @@ import org.jcnc.snow.vm.module.OperandStack;
* <li>Push the converted long64 value back onto the operand stack for subsequent operations.</li>
* </ol>
*
* <p>This opcode is used to widen a float32 value to a long64 type for operations requiring a larger numeric range.</p>
* <p>This opcode is used to widen a float32 value to a long64 type.</p>
*/
public class F2LCommand implements Command {

View File

@ -16,7 +16,7 @@ import org.jcnc.snow.vm.module.OperandStack;
* <li>Push the converted short16 value back onto the operand stack for subsequent operations.</li>
* </ol>
*
* <p>This opcode is used to convert a float32 value to a short16 type for further integer operations or comparisons.</p>
* <p>This opcode is used to convert a float32 value to a short16 type.</p>
*/
public class F2SCommand implements Command {

View File

@ -16,7 +16,7 @@ import org.jcnc.snow.vm.module.OperandStack;
* <li>Push the converted byte8 value back onto the operand stack for subsequent operations.</li>
* </ol>
*
* <p>This opcode is used to narrow an int32 value to a byte8 type when a smaller numeric representation is required.</p>
* <p>This opcode is used to narrow an int32 value to a byte8 type.</p>
*/
public class I2BCommand implements Command {

View File

@ -16,7 +16,7 @@ import org.jcnc.snow.vm.module.OperandStack;
* <li>Push the converted double64 value back onto the operand stack for subsequent operations.</li>
* </ol>
*
* <p>This opcode is used to widen an int32 value to a double64 type, providing high-precision floating-point calculations.</p>
* <p>This opcode is used to widen an int32 value to a double64 type.</p>
*/
public class I2DCommand implements Command {

View File

@ -16,7 +16,7 @@ import org.jcnc.snow.vm.module.OperandStack;
* <li>Push the converted float32 value back onto the operand stack for subsequent operations.</li>
* </ol>
*
* <p>This opcode is used to convert an int32 value to a float32 type when floating-point arithmetic is required.</p>
* <p>This opcode is used to convert an int32 value to a float32 type.</p>
*/
public class I2FCommand implements Command {

View File

@ -16,7 +16,7 @@ import org.jcnc.snow.vm.module.OperandStack;
* <li>Push the converted long64 value back onto the operand stack for subsequent operations.</li>
* </ol>
*
* <p>This opcode is commonly used to widen an int32 value to a long64 type to accommodate larger numeric ranges.</p>
* <p>This opcode is commonly used to widen an int32 value to a long64 type.</p>
*/
public class I2LCommand implements Command {

View File

@ -16,7 +16,7 @@ import org.jcnc.snow.vm.module.OperandStack;
* <li>Push the converted short16 value back onto the operand stack for subsequent operations.</li>
* </ol>
*
* <p>This opcode is typically used to narrow an int32 value to a short16 type when a smaller data representation is required.</p>
* <p>This opcode is typically used to narrow an int32 value to a short16 type.</p>
*/
public class I2SCommand implements Command {

View File

@ -16,7 +16,7 @@ import org.jcnc.snow.vm.module.OperandStack;
* <li>Push the converted byte8 value back onto the operand stack for subsequent operations.</li>
* </ol>
*
* <p>This opcode is used to widen a long64 value to a byte8 type for high-precision floating-point computations.</p>
* <p>This opcode is used to widen a long64 value to a byte8 type.</p>
*/
public class L2BCommand implements Command {

View File

@ -16,7 +16,7 @@ import org.jcnc.snow.vm.module.OperandStack;
* <li>Push the converted double64 value back onto the operand stack for subsequent operations.</li>
* </ol>
*
* <p>This opcode is used to widen a long64 value to a double64 type for high-precision floating-point computations.</p>
* <p>This opcode is used to widen a long64 value to a double64 type.</p>
*/
public class L2DCommand implements Command {

View File

@ -16,7 +16,7 @@ import org.jcnc.snow.vm.module.OperandStack;
* <li>Push the converted float32 value back onto the operand stack for subsequent operations.</li>
* </ol>
*
* <p>This opcode is used to convert a long64 value to a float32 type, typically for floating-point arithmetic involving long values.</p>
* <p>This opcode is used to convert a long64 value to a float32 type.</p>
*/
public class L2FCommand implements Command {

View File

@ -16,7 +16,7 @@ import org.jcnc.snow.vm.module.OperandStack;
* <li>Push the converted int32 value back onto the operand stack for subsequent operations.</li>
* </ol>
*
* <p>This opcode is typically used to narrow a long64 value to an int32 type for further integer operations.</p>
* <p>This opcode is typically used to narrow a long64 value to an int32 typ.</p>
*/
public class L2ICommand implements Command {

View File

@ -16,7 +16,7 @@ import org.jcnc.snow.vm.module.OperandStack;
* <li>Push the converted short16 value back onto the operand stack for subsequent operations.</li>
* </ol>
*
* <p>This opcode is used to widen a long64 value to a short16 type for high-precision floating-point computations.</p>
* <p>This opcode is used to widen a long64 value to a short16 type.</p>
*/
public class L2SCommand implements Command {

View File

@ -16,7 +16,7 @@ import org.jcnc.snow.vm.module.OperandStack;
* <li>Push the converted byte8 value back onto the operand stack for subsequent operations.</li>
* </ol>
*
* <p>This opcode is used to widen a short16 value to a byte8 type, facilitating subsequent integer arithmetic or comparison operations.</p>
* <p>This opcode is used to widen a short16 value to a byte8 type.</p>
*/
public class S2BCommand implements Command {

View File

@ -16,7 +16,7 @@ import org.jcnc.snow.vm.module.OperandStack;
* <li>Push the converted double64 value back onto the operand stack for subsequent operations.</li>
* </ol>
*
* <p>This opcode is used to widen a short16 value to a double64 type, facilitating subsequent integer arithmetic or comparison operations.</p>
* <p>This opcode is used to widen a short16 value to a double64 type.</p>
*/
public class S2DCommand implements Command {

View File

@ -16,7 +16,7 @@ import org.jcnc.snow.vm.module.OperandStack;
* <li>Push the converted float32 value back onto the operand stack for subsequent operations.</li>
* </ol>
*
* <p>This opcode is used to widen a short16 value to a float32 type, facilitating subsequent integer arithmetic or comparison operations.</p>
* <p>This opcode is used to widen a short16 value to a float32 type.</p>
*/
public class S2FCommand implements Command {

View File

@ -16,7 +16,7 @@ import org.jcnc.snow.vm.module.OperandStack;
* <li>Push the converted int32 value back onto the operand stack for subsequent operations.</li>
* </ol>
*
* <p>This opcode is used to widen a short16 value to an int32 type, facilitating subsequent integer arithmetic or comparison operations.</p>
* <p>This opcode is used to widen a short16 value to an int32 type.</p>
*/
public class S2ICommand implements Command {

View File

@ -16,7 +16,7 @@ import org.jcnc.snow.vm.module.OperandStack;
* <li>Push the converted long64 value back onto the operand stack for subsequent operations.</li>
* </ol>
*
* <p>This opcode is used to widen a short16 value to a long64 type, facilitating subsequent integer arithmetic or comparison operations.</p>
* <p>This opcode is used to widen a short16 value to a long64 type.</p>
*/
public class S2LCommand implements Command {