reals is the sum of all real numbers.
what is the sum of all real numbers?
reals
Na
Na
bullet::::- sum of three rational real numbers and two rational complex numbers





























(define x (+ 1/3 1/4 -1/5 -1/3i 405/50+2/3i))





























x





























=== 509/60+1/3i





























bullet::::- check for exactness.





























(exact? x)





























=== #t





























example 2: same arithmetic in an implementation that supports neither exact 





























rational numbers nor complex numbers but does accept real numbers in rational notation.





























bullet::::- sum of four rational real numbers





























(define xr (+ 1/3 1/4 -1/5 405/50))





























bullet::::- sum of two rational real numbers





























(define xi (+ -1/3 2/3))





























xr





























=== 8.48333333333333





























xi





























=== 0.333333333333333





























bullet::::- check for exactness.





























(exact? xr)





























=== #f





























=== #f
scheme (programming language)