# Double

Double inherits from Number and defines no instance variables. It has no subclasses.

## Methods defined in Double:

### Methods for arithmetic:

- - number
- * number
- / number
- \\ number
  Remainder.
- + number

### Methods for comparing:

- < number
- = number

### Methods for converting:

- asDouble
- asInteger

### Methods for double dispatching:

- coerce: number
- generality

### Methods for math functions:

- abs
- acos
- acosh
- asin
- asinh
- atan
- atanh
- ceil
- cos
- cosh
- cubeRoot
- exp
- expM1
- floor
- ln
- ln1P
- log10
- log2
- logB
- negated
- rint
- rounded
- significand
- sin
- sinh
- sqrt
- tan
- tanh
- truncated
- unary: op
  Quick dispatch for simple unary double functions.

### Methods for printing:

- inScientificNotation
  Use the crappy PalmOS formatting routine.
- printOn: stream
- printOn: stream decimalPlaces: decimalPlaces

Pocket Smalltalk Documentation