Gestionnaire de fichiers - Editer - /opt/cpanel/ea-ruby24/root/usr/share/ri/system/Object/unknown-i.ri
Arrière
U:RDoc::MetaMethod[iI"unknown:ETI"Object#unknown;TF:publico:RDoc::Markup::Document:@parts[S:RDoc::Markup::Heading: leveli: textI" mathn;To:RDoc::Markup::BlankLine o:RDoc::Markup::Paragraph; [I"Gmathn serves to make mathematical operations more precise in Ruby ;TI"<and to integrate other mathematical standard libraries.;T@ o;; [I"Without mathn:;T@ o:RDoc::Markup::Verbatim; [I"3 / 2 => 1 # Integer ;T:@format0o;; [I"With mathn:;T@ o;; [I"3 / 2 => 3/2 # Rational ;T;0o;; [I"&mathn keeps value in exact terms.;T@ o;; [I"Without mathn:;T@ o;; [I")20 / 9 * 3 * 14 / 7 * 3 / 2 # => 18 ;T;0o;; [I"With mathn:;T@ o;; [I")20 / 9 * 3 * 14 / 7 * 3 / 2 # => 20 ;T;0o;; [I"QWhen you require 'mathn', the libraries for Prime, CMath, Matrix and Vector ;TI"are also loaded.;T@ S; ;i;I"Copyright;T@ o;; [I"-Author: Keiju ISHITSUKA (SHL Japan Inc.);T: @fileI"lib/mathn.rb;T:0@omit_headings_from_table_of_contents_below000[ I"