In Files

Methods

Class Index [+]

Quicksearch

Flt::Num::DivisionUndefined

Undefined result of division exception.

This occurs and signals invalid-operation if division by zero was attempted (during a divide-integer, divide, or remainder operation), and the dividend is also zero.

 The result is NaN.

Public Class Methods

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

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.