Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
C code_review
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 47
    • Merge requests 47
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Tanzeer Hossain
  • code_review
  • Merge requests
  • !55

Open
Created Oct 17, 2019 by Abdella Mohammed Albadani@fj0335
  • Report abuse
Report abuse

updated calculator.cpp

  • Overview 7
  • Commits 1
  • Changes 1

#Added #include to accommodate negative values #line 29, case 1: Specify which number is numerator and which is denominator so the program is more user friendly #case 1: added error handling code for division by 0 #case 5: cant have negative exponent so added code to fix this bug, this is because a negative exponent is 1 divided by the inverse #case 6: added code for complex numbers use the complex in C++ of type float since a is a floating point #case 13 and 14: Log is not defined for anything 0 or under 0 added error handling code to fix the issue

Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: patch-2