Sha256: 4f157a1ed163746586b254d01c13dff64540d46b403b456e009b9aaa26ad022f
Contents?: true
Size: 575 Bytes
Versions: 2
Compression:
Stored size: 575 Bytes
Contents
module Qlang 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
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
hilbert-0.0.2700000 | lib/qlang/api/limit_api.rb |
qlang-0.0.27182124 | lib/qlang/api/limit_api.rb |