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)
Dec 11 2024, 5:38 PM
Unknown Object (File)
Dec 10 2024, 10:19 AM
Unknown Object (File)
Nov 27 2024, 10:34 AM
Unknown Object (File)
Nov 22 2024, 5:30 AM
Unknown Object (File)
Nov 21 2024, 10:34 AM
Unknown Object (File)
Nov 18 2024, 7:47 PM
Unknown Object (File)
Nov 12 2024, 10:53 PM
Unknown Object (File)
Nov 11 2024, 5:31 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.