Class: Integer
Instance Method Summary collapse
Instance Method Details
#to_var ⇒ Object
1825 1826 1827 1828 1829 1830 1831 |
# File 'lib/BOAST/Algorithm.rb', line 1825 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 |