PasteRack.org
Paste # 63401
2020-07-22 15:36:33

Fork as a new paste.

Paste viewed 319 times.


Embed:

  1. #lang racket
  2.  
  3. ;;; Numbers
  4. 9999999999999999999999 ; integers
  5. #b111                  ; binary => 7
  6. #o111                  ; octal => 73
  7. #x111                  ; hexadecimal => 273
  8. 3.14                   ; reals
  9. 6.02e+23
  10. 1/2                    ; rationals
  11. 1+2i                   ; complex numbers
  12.  
  13. (define woot "woot")

=>

9999999999999999999999

7

73

273

3.14

6.02e+23

1/2

1+2i