In Files

Methods

Class Index [+]

Quicksearch

Flt::Num::InvalidContext

Invalid context exception.

This occurs and signals invalid-operation if an invalid context was detected during an operation. This can occur if contexts are not checked on creation and either the precision exceeds the capability of the underlying concrete representation or an unknown or unsupported rounding was specified. These aspects of the context need only be checked when the values are required to be used. The result is NaN.

Public Class Methods

handle(context,*args) click to toggle source
     # File lib/flt/num.rb, line 329
329:     def self.handle(context,*args)
330:       context.num_class.nan
331:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.