ChicoState / ChicoState/MyFirstExample

Handle Negitve roots

Open
#430 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
0
Forks
418
Avg merge
13h 31m
Merged PRs (30d)
1

Description

If the first value is negative the Sqrt results in a NAN

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the code path that calculates the square root and reproduce the problem with a negative first value. Determine the intended behavior for that input, then verify that the calculation no longer produces NaN and add or run a focused check for the negative-input case.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.