Numbers
Checking Whether a String Is a Valid Number
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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 |
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.