AnyLang Programming Language Comparison/Appendix:PLEAC Crossref:Numbers

From Wikibooks, open books for an open world
Jump to navigation Jump to search

Numbers

[edit | edit source]

Checking Whether a String Is a Valid Number

[edit | edit source]
ada c++ commonlisp cposix erlang factor forth
groovy guile haskell haskell-on-steroids java masd merd
nasm ocaml perl php pike pliant python
R rexx ruby smalltalk tcl    

Comparing Floating-Point Numbers

[edit | edit source]
ada c++ commonlisp cposix erlang factor forth
groovy guile haskell haskell-on-steroids java masd merd
nasm ocaml perl php pike pliant python
R rexx ruby smalltalk tcl    

Rounding Floating-Point Numbers

[edit | edit source]
ada c++ commonlisp cposix erlang factor forth
groovy guile haskell haskell-on-steroids java masd merd
nasm ocaml perl php pike pliant python
R rexx ruby smalltalk tcl    

Converting Between Binary and Decimal

[edit | edit source]
ada c++ commonlisp cposix erlang factor forth
groovy guile haskell haskell-on-steroids java masd merd
nasm ocaml perl php pike pliant python
R rexx ruby smalltalk tcl    

Operating on a Series of Integers

[edit | edit source]
ada c++ commonlisp cposix erlang factor forth
groovy guile haskell haskell-on-steroids java masd merd
nasm ocaml perl php pike pliant python
R rexx ruby smalltalk tcl    

Working with Roman Numerals

[edit | edit source]
ada c++ commonlisp cposix erlang factor forth
groovy guile haskell haskell-on-steroids java masd merd
nasm ocaml perl php pike pliant python
R rexx ruby smalltalk tcl    

Generating Random Numbers

[edit | edit source]
ada c++ commonlisp cposix erlang factor forth
groovy guile haskell haskell-on-steroids java masd merd
nasm ocaml perl php pike pliant python
R rexx ruby smalltalk tcl    

Generating Different Random Numbers

[edit | edit source]
ada c++ commonlisp cposix erlang factor forth
groovy guile haskell haskell-on-steroids java masd merd
nasm ocaml perl php pike pliant python
R rexx ruby smalltalk tcl    

Making Numbers Even More Random

[edit | edit source]
ada c++ commonlisp cposix erlang factor forth
groovy guile haskell haskell-on-steroids java masd merd
nasm ocaml perl php pike pliant python
R rexx ruby smalltalk tcl    

Generating Biased Random Numbers

[edit | edit source]
ada c++ commonlisp cposix erlang factor forth
groovy guile haskell haskell-on-steroids java masd merd
nasm ocaml perl php pike pliant python
R rexx ruby smalltalk tcl    

Doing Trigonometry in Degrees, not Radians

[edit | edit source]
ada c++ commonlisp cposix erlang factor forth
groovy guile haskell haskell-on-steroids java masd merd
nasm ocaml perl php pike pliant python
R rexx ruby smalltalk tcl    

Calculating More Trigonometric Functions

[edit | edit source]
ada c++ commonlisp cposix erlang factor forth
groovy guile haskell haskell-on-steroids java masd merd
nasm ocaml perl php pike pliant python
R rexx ruby smalltalk tcl    

Taking Logarithms

[edit | edit source]
ada c++ commonlisp cposix erlang factor forth
groovy guile haskell haskell-on-steroids java masd merd
nasm ocaml perl php pike pliant python
R rexx ruby smalltalk tcl    

Multiplying Matrices

[edit | edit source]
ada c++ commonlisp cposix erlang factor forth
groovy guile haskell haskell-on-steroids java masd merd
nasm ocaml perl php pike pliant python
R rexx ruby smalltalk tcl    

Using Complex Numbers

[edit | edit source]
ada c++ commonlisp cposix erlang factor forth
groovy guile haskell haskell-on-steroids java masd merd
nasm ocaml perl php pike pliant python
R rexx ruby smalltalk tcl    

Converting Between Octal and Hexadecimal

[edit | edit source]
ada c++ commonlisp cposix erlang factor forth
groovy guile haskell haskell-on-steroids java masd merd
nasm ocaml perl php pike pliant python
R rexx ruby smalltalk tcl    

Putting Commas in Numbers

[edit | edit source]
ada c++ commonlisp cposix erlang factor forth
groovy guile haskell haskell-on-steroids java masd merd
nasm ocaml perl php pike pliant python
R rexx ruby smalltalk tcl    

Printing Correct Plurals

[edit | edit source]
ada c++ commonlisp cposix erlang factor forth
groovy guile haskell haskell-on-steroids java masd merd
nasm ocaml perl php pike pliant python
R rexx ruby smalltalk tcl    

Program: Calculating Prime Factors

[edit | edit source]
ada c++ commonlisp cposix erlang factor forth
groovy guile haskell haskell-on-steroids java masd merd
nasm ocaml perl php pike pliant python
R rexx ruby smalltalk tcl