Class: Integer
Instance Method Summary collapse
Instance Method Details
#to_var ⇒ Object
1819 1820 1821 1822 1823 1824 1825 |
# File 'lib/BOAST/Algorithm.rb', line 1819 def to_var if self < 0 then return BOAST::Variable::new("#{self}", BOAST::Int, :signed => true, :constant => self ) else return BOAST::Variable::new("#{self}", BOAST::Int, :signed => false, :constant => self ) end end |