Skip to content

📝 CodeRabbit Chat: Reject Floating-Point Operands in Integer Arithmetic Opcodes - #597

Merged
claycuy merged 1 commit into
feat/math-stfrom
coderabbitai/chat/a3ca01c
Sep 14, 2026
Merged

claycuy merged 1 commit into
feat/math-stfrom
coderabbitai/chat/a3ca01c

Conversation

@coderabbitai

@coderabbitai coderabbitai Bot commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

Code changes was requested by @claycuy.

The following files were modified:

  • rust/src/instructions/math/arithmetic/add_func.rs
  • rust/src/instructions/math/arithmetic/div_func.rs
  • rust/src/instructions/math/arithmetic/mod_func.rs
  • rust/src/instructions/math/arithmetic/mul_func.rs
  • rust/src/instructions/math/arithmetic/neg_func.rs
  • rust/src/instructions/math/arithmetic/pow_func.rs
  • rust/src/instructions/math/arithmetic/sub_func.rs
  • rust/src/utils/get_type_name.rs

@vercel

vercel Bot commented Sep 14, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
lightvm Ready Ready Preview Sep 14, 2026 7:16am UTC

@coderabbitai
coderabbitai Bot requested a review from claycuy September 14, 2026 07:16
@coderabbitai

coderabbitai Bot commented Sep 14, 2026

Copy link
Copy Markdown
Contributor Author

Important

Review skipped

This PR was authored by the user configured for CodeRabbit reviews. CodeRabbit does not review PRs authored by this user. It's recommended to use a dedicated user account to post CodeRabbit review feedback.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yml

Review profile: CHILL

Plan: Essentials

Run ID: 06242825-eaa7-4668-9af3-b7bb8e412b02

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Comment @coderabbitai help to get the list of available commands.

@github-actions github-actions Bot added the enhancement New feature or request label Sep 14, 2026
@claycuy
claycuy merged commit 5ae4cc6 into feat/math-st Sep 14, 2026
5 checks passed
@claycuy
claycuy deleted the coderabbitai/chat/a3ca01c branch September 14, 2026 08:04
claycuy added a commit that referenced this pull request Sep 15, 2026
* feat: Tighten the number type rules on math opcodes

* 📝 CodeRabbit Chat: Reject Floating-Point Operands in Integer Arithmetic Opcodes (#597)

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* 📝 CodeRabbit Chat: Enforce Numeric Type Validation for Power and Trigonometric Opcodes (#599)

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* 📝 CodeRabbit Chat: Accept All Floating-Point Variants for Math Operations (#600)

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* 📝 CodeRabbit Chat: Tighten Type Validation for Bitwise and EXP Opcodes (#601)

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* 📝 CodeRabbit Chat: Standardize TypeMismatch Found-Type Messages Across Math Opcodes (#606)

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* 📝 CodeRabbit Chat: Restore Numeric Error Display Names and Validation Tests (#608)

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* 📝 CodeRabbit Chat: Validate numeric families in vector arithmetic opcodes (#609)

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* 📝 CodeRabbit Chat: Enforce float-family validation in logarithm opcodes (#610)

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* refactor: Clean up source code

* 📝 CodeRabbit Chat: Reject Integer Operands for Float Arithmetic and Root Operations (#611)

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* 📝 CodeRabbit Chat: Enforce Numeric Family Validation in Vector Operations (#612)

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* 📝 CodeRabbit Chat: Enforce Float Validation for Scalar and Vector Trigonometry (#613)

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant