
Security News
How Enterprise Security Is Adapting to AI-Accelerated Threats
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.
= ruby-mpc
== Description:
ruby-mpc is an extended C library to use MPC[http://www.multiprecision.org/] which is the library of the arithmetic of complex numbers with multiprecision.
== Notice:
== Example: You must require 'mpfr' to use 'mpc'.
require "mpfr" require "mpc" MPFR.get_default_prec(100) a = MPC(-8, -2) b = MPC(0.3, 4.2) c = a / b puts c.imag.to_strf("%.30Re") puts c.real.to_strf("%.30Re")
== Requirements:
== Install: The package of rubygems of ruby-mpfr is provided. You can install ruby-mpfr with the following command in the system satisfying the above requirements.
$ gem install ruby-mpc
== License:
ruby-mpc Copyright (C) 2009 Takayuki YAMAGUCHI
This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
FAQs
Unknown package
We found that ruby-mpc 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
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.