Bug 253084 - [NEW PORT] math/mpdecimal 2.5.1: package for correctly-rounded arbitrary precision decimal floating point arithmetic
Summary: [NEW PORT] math/mpdecimal 2.5.1: package for correctly-rounded arbitrary prec...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Steve Wills
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-29 17:51 UTC by Stefan Krah
Modified: 2021-02-05 03:28 UTC (History)
2 users (show)

See Also:


Attachments
New mpdecimal-2.5.1 port (4.03 KB, patch)
2021-01-29 17:51 UTC, Stefan Krah
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Krah 2021-01-29 17:51:51 UTC
Created attachment 222010 [details]
New mpdecimal-2.5.1 port

This is a new port of the latest mpdecimal release:

   https://www.bytereef.org/mpdecimal/index.html

The port passes ``portlint -A'' and ``poudriere testport''.


FreeBSD is a first tier platform for libmpdec/libmpdec++, so the build
will always work out of the box in future releases.


If you accept this port, it will be beneficial to move the Python build
to --with-system-libmpdec in the future.
Comment 1 commit-hook freebsd_committer freebsd_triage 2021-02-05 03:27:56 UTC
A commit references this bug:

Author: swills
Date: Fri Feb  5 03:27:39 UTC 2021
New revision: 564081
URL: https://svnweb.freebsd.org/changeset/ports/564081

Log:
  math/mpdecimal: create port

  libmpdec is a complete C implementation of the General Decimal Arithmetic
  Specification.  The specification, written by Mike Cowlishaw from IBM,
  defines a general purpose arbitrary precision data type together with
  rigorously specified functions and rounding behavior.  As described in the
  scope section of the specification, libmpdec will - with minor restrictions -
  also conform to the IEEE 754-2008 Standard for Floating-Point Arithmetic,
  provided that the appropriate context parameters are set.

  libmpdec++ is a complete C++ implementation of the General Decimal Arithmetic
  Specification. libmpdec++ is mostly a header library around libmpdec.  The
  library frees users from manual memory management and has an easy API with
  inline operators.  libmpdec++ has a thread local context for inline operators
  and other functions that use the implicit context.

  WWW: https://www.bytereef.org/mpdecimal/index.html

  PR:		253084
  Submitted by:	Stefan Krah <skrah@bytereef.org>

Changes:
  head/math/Makefile
  head/math/mpdecimal/
  head/math/mpdecimal/Makefile
  head/math/mpdecimal/distinfo
  head/math/mpdecimal/pkg-descr
  head/math/mpdecimal/pkg-plist
Comment 2 Steve Wills freebsd_committer freebsd_triage 2021-02-05 03:28:42 UTC
Committed, thanks!