Sha256: b1dd7e5bef597b9aa67cd3831ba729286037d6331baec5548547f878c6e17e1a
Contents?: true
Size: 577 Bytes
Versions: 1
Compression:
Stored size: 577 Bytes
Contents
module Hilbert module Api module LimitApi def self.execute(formula, var, close_to) case $meta_info.lang # TODO: I know what you want to say.......! when :ruby case close_to when 'oo' "temp_cal_f(#{var}) <= #{formula}; temp_cal_f(100000)" else "temp_cal_f(#{var}) <= #{formula}; temp_cal_f(#{close_to} + Float::EPSILON ** 20)" end else fail "List is not implemented for #{$meta_info.lang_str}" end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hilbert-0.0.2700001 | lib/hilbert/api/limit_api.rb |