Affiliation:
1. StataCorp College Station, TX
Abstract
Mata is Stata's matrix language. The Mata Matters column shows how Mata can be used interactively to solve problems and as a programming language to add new features to Stata. In this quarter's column, we investigate underflow and overflow and then delve into the details of how floating-point numbers are stored in the IEEE 754 floating-point standard. We show how to test for overflow and underflow. We demonstrate how to use the %21x format to see underflow and the %16H, %16L, %8H, and %8L formats for displaying the byte content of doubles and floats.
Subject
Mathematics (miscellaneous)
Cited by
4 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Fixed-Posit: A Floating-Point Representation for Error-Resilient Applications;IEEE Transactions on Circuits and Systems II: Express Briefs;2021-10
2. More Power through Symbolic Computation: Extending Stata by using the Maxima Computer algebra system;The Stata Journal: Promoting communications on statistics and Stata;2015-04
3. Speaking Stata: Fun and Fluency with Functions;The Stata Journal: Promoting communications on statistics and Stata;2011-10
4. Stata Tip 85: Looping over Nonintegers;The Stata Journal: Promoting communications on statistics and Stata;2010-03