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, Nov 18, 7:47 PM
Unknown Object (File)
Tue, Nov 12, 10:53 PM
Unknown Object (File)
Mon, Nov 11, 5:31 AM
Unknown Object (File)
Tue, Oct 29, 2:10 PM
Unknown Object (File)
Oct 3 2024, 6:23 AM
Unknown Object (File)
Oct 1 2024, 2:07 PM
Unknown Object (File)
Oct 1 2024, 12:56 PM
Unknown Object (File)
Sep 27 2024, 9:21 PM
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.