Class: Integer
Instance Method Summary collapse
Instance Method Details
#to_var ⇒ Object
1697 1698 1699 1700 1701 1702 1703 |
# File 'lib/BOAST/Algorithm.rb', line 1697 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 |