[libc][math] Implement double precision cosh correctly rounded to all rounding modes. (#235181)
Use shared `exp(x) +- exp(-x)` evaluations with `sinh` from
https://github.com/llvm/llvm-project/pull/235097.
Assisted-by: Gemini for analysis and refactoring.
[libc][math] Implement double precision sinh correctly rounded for all rounding modes. (#235097)
- Extend even/odd polynomial evalutions of exp(x) +- exp(-x) from single
precision to double-double and 128-bit fixed point.
- Optimize range reduction using the trick from previous exp
implementation, combining with the new fp-bitwise operations, and
reapply it to exp and exp2.
Assisted-by: Gemini for analysis and refactoring.
wip/jgmenu: import jgmenu-4.7.0
Packaged by J. Scott Heppler, in private mail.
jgmenu is a simple, independent and contemporary-looking X11 menu, designed
for scripting, modding and tweaking.
It is hackable and has a simple code base. It does not depend on any toolkits
such as GTK and Qt, but uses cairo and pango to render the menu.
It can optionally use some appearance settings from XSettings, tint2 and GTK.
newvers.sh: Report -dirty also with staged changes
We add -dirty to the uname version string if the tree does not match the
reported hash. Previously, staged but uncommitted changes were ignored.
Noted by naddy@ in D60606.
Reviewed by: cperciva, imp
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D60722
(cherry picked from commit 617c700abae7aba74777fca137458395936f5053)
mkimg: Ignore redundant %align values
Partitions are trivially aligned to sector boundaries, so asking e.g.
for a partition to be aligned to a 64-byte boundary is pointless but
harmless. Treat it as such, with a warning (in case the request was
a mistake, e.g. requesting 1-byte instead of 1M-byte alignment) rather
than as an error.
Reviewed by: markj
Suggested by: markj
MFC after: 1 week
Sponsored by: Amazon
Differential Revision: https://reviews.freebsd.org/D60819
(cherry picked from commit da04cf02c96b97c587580b336fa527392467f689)
devel/py-pytest-vcr: New port: Plugin for managing VCR.py cassettes
Dependency of devel/py-logfire-sdk.
Approved by: no need for approval according to bapt@
devel/py-pydantic-handlebars: New port: Handlebars template engine for LLM prompts, built on Pydantic
Dependency of devel/py-logfire-sdk.
Approved by: no need for approval according to bapt@
devel/py-pytest-vcr: New port: Plugin for managing VCR.py cassettes
Dependency of devel/py-logfire-sdk.
Approved by: no need for approval according to bapt@
devel/py-logfire: New port: Pydantic Logfire Python SDK and command-line interface
Dependency of misc/py-codecarbon.
Approved by: no need for approval according to bapt@