Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Niidae Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Arithmetic
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Real number arithmetic === Real number arithmetic is the branch of arithmetic that deals with the manipulation of both rational and irrational numbers. Irrational numbers are numbers that cannot be expressed through fractions or repeated decimals, like the root of 2 and [[Pi|{{pi}}]].<ref>{{multiref | {{harvnb|Musser|Peterson|Burger|2013|pp=[https://books.google.com/books?id=8jh7DwAAQBAJ&pg=PA358 358β359]}} | {{harvnb|Kudryavtsev|2020}} | {{harvnb|Rooney|2021|p=[https://books.google.com/books?id=WnVeEAAAQBAJ&pg=PA34 34]}} | {{harvnb|Young|2010|pp=[https://books.google.com/books?id=9HRLAn326zEC&pg=RA1-PA994 994β996]}} | {{harvnb|Farmer|2023|p=[https://books.google.com/books?id=VfOkEAAAQBAJ&pg=PA139 139]}} }}</ref> Unlike rational number arithmetic, real number arithmetic is closed under exponentiation as long as it uses a positive number as its base. The same is true for the logarithm of positive real numbers as long as the logarithm base is positive and not 1.<ref>{{multiref | {{harvnb|Rossi|2011|p=[https://books.google.com/books?id=kSwVGbBtel8C&pg=PA101 101]}} | {{harvnb|Reitano|2010|p=[https://books.google.com/books?id=JYX6AQAAQBAJ&pg=PA42 42]}} | {{harvnb|Bronshtein|Semendyayev|Musiol|MΓΌhlig|2015|p=[https://books.google.com/books?id=5L6BBwAAQBAJ&pg=PA2 2]}} }}</ref> Irrational numbers involve an infinite non-repeating series of decimal digits. Because of this, there is often no simple and accurate way to express the results of arithmetic operations like <math>\sqrt{2} + \pi</math> or {{nobr|<math>e \cdot \sqrt{3}</math>.}}<ref>{{multiref | {{harvnb|Musser|Peterson|Burger|2013|pp=[https://books.google.com/books?id=8jh7DwAAQBAJ&pg=PA358 358β359]}} | {{harvnb|Kudryavtsev|2020}} | {{harvnb|Rooney|2021|p=[https://books.google.com/books?id=WnVeEAAAQBAJ&pg=PA34 34]}} | {{harvnb|Young|2010|pp=[https://books.google.com/books?id=9HRLAn326zEC&pg=RA1-PA994 994β996]}} }}</ref> In cases where absolute precision is not required, the problem of calculating arithmetic operations on real numbers is usually addressed by [[truncation]] or [[rounding]]. For truncation, a certain number of leftmost digits are kept and remaining digits are discarded or replaced by zeros. For example, the number {{pi}} has an infinite number of digits starting with 3.14159.... If this number is truncated to 4 decimal places, the result is 3.141. Rounding is a similar process in which the last preserved digit is increased by one if the next digit is 5 or greater but remains the same if the next digit is less than 5, so that the rounded number is the best approximation of a given precision for the original number. For instance, if the number {{pi}} is rounded to 4 decimal places, the result is 3.142 because the following digit is a 5, so 3.142 is closer to {{pi}} than 3.141.<ref>{{multiref | {{harvnb|Wallis|2013|pp=[https://books.google.com/books?id=ONgRBwAAQBAJ&pg=PA20 20β21]}} | {{harvnb|Young|2010|pp=[https://books.google.com/books?id=9HRLAn326zEC&pg=RA1-PA996 996β997]}} | {{harvnb|Young|2021|pp=[https://books.google.com/books?id=hpVFEAAAQBAJ&pg=RA1-PA4 4β5]}} }}</ref> These methods allow computers to efficiently perform approximate calculations on real numbers.<ref>{{harvnb|Koren|2018|p=[https://books.google.com/books?id=wUBZDwAAQBAJ&pg=PA71 71]}}</ref>
Summary:
Please note that all contributions to Niidae Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Arithmetic
(section)
Add topic