Test integerness: Difference between revisions

Content deleted Content added
Grondilu (talk | contribs)
No edit summary
Grondilu (talk | contribs)
Make a sentence for the extra credit description
Line 5:
To be clear, we're not talking about whether the number is stored with the specific data type for integers, but instead we want to test whether there exists an integer with the exact same value. In other words, we want to test for integerness in the mathematical sense, not as a data type.
 
ExtendFor extra credit, extend the test for complex numbernumbers. Remember that <math>\mathbf{Z}\subset\mathbf{C}</math>.
''Extra credit''
 
Extend the test for complex number. Remember that <math>\mathbf{Z}\subset\mathbf{C}</math>.