CVS log for pkgsrc/math/bcal/Makefile
Up to [cvs.NetBSD.org] / pkgsrc / math / bcal
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.8: download - view: text, markup, annotated - select for diffs
Mon Sep 7 21:44:14 2026 UTC (2 months, 1 week ago) by sjmulder
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base,
pkgsrc-2026Q3,
HEAD
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +4 -3
lines
math/bcal: update to 2.6
Changes:
- support native prompt and history without readline (`make O_NORL=1`)
- add `strip` and static build (`make O_STATIC=1`) options
- show prompt help and allow `c` and `p` commands in either REPL mode
- add `BCAL_BIT_ANSI_COLOR_CODE` to customize set bit color
- add sum() function for whitespace-separated numbers
- add `-H` option to show integral maths results in hexadecimal
Package changes:
- Support for 'readline' and 'editline' options
Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri Apr 10 20:35:17 2026 UTC (7 months ago) by sjmulder
Branches: MAIN
CVS tags: pkgsrc-2026Q2-base,
pkgsrc-2026Q2
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +8 -3
lines
math/bcal: Update to 2.5
Changes:
- remove dependency on external tools (bc, calc)
- support general purpose calculations (program option/prompt
switch 'b')
- arithmetic: addition, subtraction, multiplication, division,
modulo
- bitwise: AND (&), OR (|), XOR (^), complement (~), lshift (<<),
rshift (>>)
- functions: exp(n), log(base, n), ln(n) [natural log],
pow(n, exponent), root(radical, n)
- add program option/prompt switch p to show bit positions with bit
value of a number
- remove commas from input for general purpose calculations
Package now includes a test target.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Sat Jan 29 14:55:08 2022 UTC (4 years, 9 months ago) by sjmulder
Branches: MAIN
CVS tags: pkgsrc-2026Q1-base,
pkgsrc-2026Q1,
pkgsrc-2025Q4-base,
pkgsrc-2025Q4,
pkgsrc-2025Q3-base,
pkgsrc-2025Q3,
pkgsrc-2025Q2-base,
pkgsrc-2025Q2,
pkgsrc-2025Q1-base,
pkgsrc-2025Q1,
pkgsrc-2024Q4-base,
pkgsrc-2024Q4,
pkgsrc-2024Q3-base,
pkgsrc-2024Q3,
pkgsrc-2024Q2-base,
pkgsrc-2024Q2,
pkgsrc-2024Q1-base,
pkgsrc-2024Q1,
pkgsrc-2023Q4-base,
pkgsrc-2023Q4,
pkgsrc-2023Q3-base,
pkgsrc-2023Q3,
pkgsrc-2023Q2-base,
pkgsrc-2023Q2,
pkgsrc-2023Q1-base,
pkgsrc-2023Q1,
pkgsrc-2022Q4-base,
pkgsrc-2022Q4,
pkgsrc-2022Q3-base,
pkgsrc-2022Q3,
pkgsrc-2022Q2-base,
pkgsrc-2022Q2,
pkgsrc-2022Q1-base,
pkgsrc-2022Q1
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -2
lines
math/bcal: Update to 2.4
- Support "exit" and "quit" at prompt
Revision 1.5: download - view: text, markup, annotated - select for diffs
Fri Nov 19 22:19:39 2021 UTC (4 years, 11 months ago) by sjmulder
Branches: MAIN
CVS tags: pkgsrc-2021Q4-base,
pkgsrc-2021Q4
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -2
lines
math/bcal: Update to 2.3
Changes:
- show binary conversion output in octets for readability
- handle ^D
- quit program or 'exit' or 'quit'
- fix broken terminal with calc as backend on "undefined input" (#36)
Revision 1.4: download - view: text, markup, annotated - select for diffs
Thu Jan 9 12:21:37 2020 UTC (6 years, 10 months ago) by sjmulder
Branches: MAIN
CVS tags: pkgsrc-2021Q3-base,
pkgsrc-2021Q3,
pkgsrc-2021Q2-base,
pkgsrc-2021Q2,
pkgsrc-2021Q1-base,
pkgsrc-2021Q1,
pkgsrc-2020Q4-base,
pkgsrc-2020Q4,
pkgsrc-2020Q3-base,
pkgsrc-2020Q3,
pkgsrc-2020Q2-base,
pkgsrc-2020Q2,
pkgsrc-2020Q1-base,
pkgsrc-2020Q1
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +5 -2
lines
bcal: Update to 2.2
Changes:
- Support calc for multi-base expressions
- To use calc, export BCAL_USE_CALC=1
- Fix lint issues
- Fix issue #30
- Updated auto-generated packages
- More portable Makefile
Revision 1.3: download - view: text, markup, annotated - select for diffs
Wed Jun 12 20:57:07 2019 UTC (7 years, 5 months ago) by sjmulder
Branches: MAIN
CVS tags: pkgsrc-2019Q4-base,
pkgsrc-2019Q4,
pkgsrc-2019Q3-base,
pkgsrc-2019Q3,
pkgsrc-2019Q2-base,
pkgsrc-2019Q2
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +4 -3
lines
math/bcal: restrict to 64 bit platforms
bcal is 64 bit only by design so use ONLY_FOR_PLATFORM to prevent build
failures on unsupported platforms.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Mon May 6 09:17:12 2019 UTC (7 years, 6 months ago) by sjmulder
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -2
lines
Update my (sjmulder) maintainer email address
Revision 1.1: download - view: text, markup, annotated - select for diffs
Sat Dec 15 17:25:15 2018 UTC (7 years, 11 months ago) by leot
Branches: MAIN
CVS tags: pkgsrc-2019Q1-base,
pkgsrc-2019Q1,
pkgsrc-2018Q4-base,
pkgsrc-2018Q4
bcal: Import bcal-2.1 as math/bcal
bcal (Byte CALculator) is a REPL CLI utility for storage expressions,
unit conversions or address calculations. If you can't calculate the
hex address offset for (512 - 16) MiB, or the value when the 43rd bit
of a 64-bit address is set mentally, bcal is for you.
It has a bc(1) mode for general-purpose numerical calculations.
Only 64-bit operating systems are supported.
Packaged by Sijmen J. Mulder in pkgsrc-wip, thanks!
CVSweb <webmaster@jp.NetBSD.org>