Skip to content

added saveguards for the std::number::log function#182

Merged
raphael-goetz merged 1 commit intomainfrom
#180-add-log-saveguards
Apr 25, 2026
Merged

added saveguards for the std::number::log function#182
raphael-goetz merged 1 commit intomainfrom
#180-add-log-saveguards

Conversation

@raphael-goetz
Copy link
Copy Markdown
Member

Resolves: #180

Copilot AI review requested due to automatic review settings April 25, 2026 15:31
@github-actions
Copy link
Copy Markdown

GitLab Pipeline Action

General information

Link to pipeline: https://gitlab.com/code0-tech/development/taurus/-/pipelines/2479530785

Status: Passed
Duration: 1 minutes

Job summaries

docs:preview

Documentation preview available at https://code0-tech.gitlab.io/-/development/telescopium/-/jobs/14089183180/artifacts/out/index.html

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds runtime-domain safeguards to std::number::log to prevent returning NaN/ and instead surface explicit InvalidArgumentRuntimeError failures, addressing issue #180.

Changes:

  • Added finiteness and domain checks for value and base in std::number::log, returning T-STD-00001 failures on invalid inputs.
  • Added unit tests to verify log fails for negative input and invalid bases (0 and 1).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread crates/taurus-core/src/runtime/functions/number.rs
@raphael-goetz raphael-goetz merged commit b570c5a into main Apr 25, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add saveguards for log

2 participants