Next: , Previous: , Up: syslib numerics   [Index]


12.10.17 Maximum between numbers

Notice that if one of the operands is +nan.0 the result is +nan.0.

Any number as first argument

Unsafe Operation: $max-number-fixnum num fx

Return the maximum between the arguments.

Unsafe Operation: $max-number-bignum num bn

Return the maximum between the arguments.

Unsafe Operation: $max-number-ratnum num rt

Return the maximum between the arguments.

Unsafe Operation: $max-number-flonum num fl

Return the maximum between the arguments.

Any number as second argument

Unsafe Operation: $max-fixnum-number fx num

Return the maximum between the arguments.

Unsafe Operation: $max-bignum-number bn num

Return the maximum between the arguments.

Unsafe Operation: $max-flonum-number fl num

Return the maximum between the arguments.

Unsafe Operation: $max-ratnum-number rt num

Return the maximum between the arguments.

Fixnum as first argument

Unsafe Operation: $max-fixnum-fixnum fx1 fx2

Return the maximum between the arguments.

Unsafe Operation: $max-fixnum-bignum fx bn

Return the maximum between the arguments.

Unsafe Operation: $max-fixnum-flonum fx fl

Return the maximum between the arguments.

Unsafe Operation: $max-fixnum-ratnum fx rt

Return the maximum between the arguments.

Bignum as first argument

Unsafe Operation: $max-bignum-fixnum bn fx

Return the maximum between the arguments.

Unsafe Operation: $max-bignum-bignum bn1 bn2

Return the maximum between the arguments.

Unsafe Operation: $max-bignum-ratnum bn rt

Return the maximum between the arguments.

Unsafe Operation: $max-bignum-flonum bn fl

Return the maximum between the arguments.

Flonum as first argument

Unsafe Operation: $max-flonum-fixnum fl fx

Return the maximum between the arguments.

Unsafe Operation: $max-flonum-bignum fl bn

Return the maximum between the arguments.

Unsafe Operation: $max-flonum-ratnum fl rt

Return the maximum between the arguments.

Unsafe Operation: $max-flonum-flonum fl1 fl2

Return the maximum between the arguments.

Ratnum as first argument

Unsafe Operation: $max-ratnum-fixnum rt fx

Return the maximum between the arguments.

Unsafe Operation: $max-ratnum-bignum rt bn

Return the maximum between the arguments.

Unsafe Operation: $max-ratnum-ratnum rt1 rt2

Return the maximum between the arguments.

Unsafe Operation: $max-ratnum-flonum rt fl

Return the maximum between the arguments.


Next: , Previous: , Up: syslib numerics   [Index]