Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
P1788 is a Ruby extension wrapping the C++ libieeep1788 interval arithmetic library.
The goal of this gem is to allow doing basic arithmetic in Ruby on set-based intervals. The output of operations are guaranteed to enclose the true result of operations.
Forward-mode and reverse-mode elementary functions are implemented to allow building contractors.
The API documentation is hosted on rubydoc.info.
You can also build the documentation yourself from the sources:
# Install yard if you don't have it
gem install yard
# Clone the repository on your machine
git clone https://gitlab.ensta-bretagne.fr/bollenth/p1788.git
cd p1788
# Build the documentation
yard
# Open it!
firefox doc/index.html
Basically:
gem install p1788
To compile, P1788 requires to have the GNU GMP and MPFR development libraries installed on your machine, as well as the Ruby development headers:
sudo apt install libgmp-dev libmpfr-dev ruby-dev
A copy of libieeep1788 is embedded into this gem, so you do not need to install it.
However, if an installation of libieeep1788 is found on your machine while the gem is installing, it will be used instead of the embedded copy.
Note: to install libieeep1788 from its github repository,
you may need to remove the flags -Wextra -Werror
around line 65 of file libieeep1788/CMakeLists.txt
:
-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Werror -pedantic")
+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -pedantic")
To install P1788 from sources:
# Clone the repository on your machine
git clone https://gitlab.ensta-bretagne.fr/bollenth/p1788.git
cd p1788
# Build the gem
gem build p1788.gemspec
# Install the gem (x.y.z is the gem version)
gem install p1788-x.y.z.gem
FAQs
Unknown package
We found that p1788 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.