A Treatment of Computational Precision, Number Representation, and Large Integers in an Introductory Fortran Course
New Search | Print Abstract | E-mail Abstract | Full Text | Save to My Collections | Export Citation |
Richardson, W. (2006). A Treatment of Computational Precision, Number Representation, and Large Integers in an Introductory Fortran Course. Journal of Computers in Mathematics and Science Teaching, 25(3), 213-237. Chesapeake, VA: AACE.
Retrieved from http://www.editlib.org/p/6298.
Journal Information

Journal of Computers in Mathematics and Science Teaching
ISSN 0731-9258
Volume 25, Issue 3, July 2006
Association for the Advancement of Computing in Education (AACE) Chesapeake, VA
More Information on JCMST
Author
Abstract
Computational precision is sometimes given short shrift in a first programming course. Treating this topic requires discussing integer and floating-point number representations and inaccuracies that may result from their use. An example of a moderately simple programming problem from elementary statistics was examined. It forced students to confront problems associated with number representations and investigate appropriate ways to circumvent them. In the example, integers were represented using two's complement form, and floating-point numbers according to the Institute of Electrical and Electronics Engineers (IEEE) standard 754, both using 32 bits. Floating-point number representation (64-bit) was necessary to achieve results accurate to two decimal positions. Finally, Fortran 90/95 subprograms were written to implement arbitrarily precise operations with large integers. Students in an introductory course can write subprograms for addition and subtraction of large integers. More sophisticated subprograms that depend on the fast Fourier transform were written to perform multiplication and division of large integers. These subprograms are more suited to an advanced programming or numerical analysis course. The subprograms written to perform large-integer operations were used to determine exact solutions for the statistical problem.
Keywords
Also Read
- July 2009 - Social Media: Trends and Implications for Learning
- Is E-Learning True to the Principles of Technology?
- Preparing Teachers to Teach Mathematics with Technology: Key Issues, Concerns and Research Questions
- Preface
- The intractability of information: non-governmental development organizations and the uses of knowledge
- The Connected Learning Space
- Learning in a Networked World: Trends and Opportunities in the Future of Technology for Learning Environments and Education
- Computer Use and Mathematical Literacy: An Analysis of Existing and Potential Relationships
- Are Pretty Interfaces Worth the Time? The Effects of User Interface Types on Web-Based Instruction
- Research Highlights in Technology and Teacher Education 2009
Tags
Add tagComments & Discussion
Comment on the paper above. You must be registered to participate. Registration is free.

New comment