# Intervals: Interval arithmetic in Ruby

**URL:** <https://www.ruby-forum.com/t/intervals-interval-arithmetic-in-ruby/55310>\
**Category:** Ruby\
**Created:** [March 19, 2006, 2:43pm UTC](https://www.ruby-forum.com/t/intervals-interval-arithmetic-in-ruby/55310 "2006-03-19T14:43:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stefano\_T](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ce73a5/32.png) [@Stefano\_T](https://www.ruby-forum.com/u/Stefano_T)\
**Post date:** [March 19, 2006, 2:43pm UTC](https://www.ruby-forum.com/t/intervals-interval-arithmetic-in-ruby/55310/1 "2006-03-19T14:43:54Z")

</div>

Intervals is a library implementing an interval system in the extended  
real set that is closed under arithmetic operations. Correct rounding  
ensures that the operations are inclusion-wise monotonic.

Intervals pre-1 is an experimental release that has has been tested on  
Mac Os X/powerpc and on linux/intel. For the C package implementing  
rounding-mode control to compile, a C99-compliant compiler is needed  
(or at least one that knows about fenv.h).

The project homepage is at [http://intervals.rubyforge.org/](http://intervals.rubyforge.org/) and the  
library can be downloaded from [http://rubyforge.org/projects/intervals/](http://rubyforge.org/projects/intervals/)

Feedback and suggestions are welcome!

Best regards,  
Stefano T.
