Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

Gürcan Güleç / iag0581

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 2
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Members
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Closed
Open
Issue #2 opened Oct 20, 2016 by Joonas Tamm@Joonas.Tamm 
  • Report abuse
  • New issue
Report abuse New issue

Homework 1 issues

The algorithm cannot be considered an algorithm - very superficial

Code:

  • if(result!=result) <- working depends on a compiler, should be done another way (check next point)
  • you should check whether the value is complex or infinite before calulating y by checking that the value under squareroot is >=0 and denominator is not zero
  • toCalculate is a single variable in your case, you cannot store several values (didn't notice that it was inside a loop <- is OK)
  • Write
  • Preview
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
No due date
1
1 participant
Reference: gugule/iag0581#2