Page MenuHomeFreeBSD

New port, math/amath: simple command line calculator
ClosedPublic

Authored by jrm on Oct 30 2016, 11:08 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jun 24, 1:48 PM
Unknown Object (File)
Sun, Jun 23, 1:15 PM
Unknown Object (File)
Fri, Jun 21, 1:41 PM
Unknown Object (File)
Fri, May 31, 10:53 AM
Unknown Object (File)
Fri, May 31, 10:53 AM
Unknown Object (File)
Fri, May 31, 10:53 AM
Unknown Object (File)
Fri, May 31, 10:53 AM
Unknown Object (File)
Thu, May 30, 5:07 AM
Subscribers

Details

Summary

New port, math/amath: simple command line calculator

Features a case sensitive command line interface, internal IEEE 754
calculations with 15 significant digits, calculations with real and
complex numbers, variables and user defined functions, logarithmic
and exponential functions, trigonometric and hyperbolic function
and selected mathematical constants and rounding functions.

Test Plan

portlint -AC: OK
testport: OK (poudriere: 9.3-RELEASE-p48, i386)
testport: OK (poudriere: 9.3-RELEASE-p48, amd64)
testport: OK (poudriere: 10.3-RELEASE-p10, i386)
testport: OK (poudriere: 10.3-RELEASE-p10, amd64)
testport: OK (poudriere: 11.0-RELEASE-p1, i386)
testport: OK (poudriere: 11.0-RELEASE-p1, amd64)

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

jrm retitled this revision from to New port, math/amath: simple command line calculator.
jrm updated this object.
jrm edited the test plan for this revision. (Show Details)
jrm added reviewers: swills, AMDmi3.
math/amath/Makefile
18 ↗(On Diff #21811)

I don't think anything warrants creating a variable for only one use :-)

20–22 ↗(On Diff #21811)

This can be replaced by:

MAKE_ARGS=CC=${CC}
27 ↗(On Diff #21811)
do-test:

Update with suggestions from mat:

  • Don't create extra variable, but reuse ${PORTNAME}.
  • Don't patch Makefile to work around hardcoded CC=gcc, but set MAKE_ARGS.
  • Use do-test target instead of regression-test.
swills edited edge metadata.

Approved

This revision is now accepted and ready to land.Nov 1 2016, 7:16 PM
This revision was automatically updated to reflect the committed changes.
jrm marked 3 inline comments as done.