Class: Integer
Instance Method Summary collapse
Instance Method Details
#to_var ⇒ Object
1770 1771 1772 1773 1774 1775 1776 |
# File 'lib/BOAST/Algorithm.rb', line 1770 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 |