<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/usr.bin/dc/bcode.h, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2024-11-24T21:38:23Z</updated>
<entry>
<title>usr.bin/bc: remove OpenBSD derived bc and dc commands</title>
<updated>2024-11-24T21:38:23Z</updated>
<author>
<name>Stefan Eßer</name>
<email>se@FreeBSD.org</email>
</author>
<published>2024-11-24T21:38:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=8ea6c115409450ff58a8c6b5e818319d181c6bff'/>
<id>urn:sha1:8ea6c115409450ff58a8c6b5e818319d181c6bff</id>
<content type='text'>
In 2020, an improved implementation of the bc and dc commands
developed by Gavin D. Howard has been imported into FreeBSD.
It has replaced the OpenBSD-derived versions of these commands
in all currently supported FreeBSD releases.

The OpenBSD versions could still be built using the WITHOUT_GH_BC
option. There have been no reports of problems or unexpected
deviations from the OpenBSD version for some time, therefore
keeping the OpenBSD version is no longer required in FreeBSD.

This commit removes the option to build the OpenBSD version and
corresponding source files from -CURRENT. No MFC is planned, all
currently released FreeBSD versions should retain the build option.

The WITHOUT_GH_BC option is no longer accepted and will cause
make buildworld to fail.

Reviewed by:	des, emaste
Approved by:	des
Relnotes:	yes
Differential Revision:	https://reviews.freebsd.org/D46876
</content>
</entry>
<entry>
<title>Remove $FreeBSD$: one-line .c comment pattern</title>
<updated>2023-08-16T17:54:29Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-16T17:54:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2a63c3be158216222d89a073dcbd6a72ee4aab5a'/>
<id>urn:sha1:2a63c3be158216222d89a073dcbd6a72ee4aab5a</id>
<content type='text'>
Remove /^/[*/]\s*\$FreeBSD\$.*\n/
</content>
</entry>
<entry>
<title>dc(1): fix input of non-decimal fractional numbers</title>
<updated>2017-12-05T04:22:35Z</updated>
<author>
<name>Alan Somers</name>
<email>asomers@FreeBSD.org</email>
</author>
<published>2017-12-05T04:22:35Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=95639a80efb8d691feabe83428703dea89b873a4'/>
<id>urn:sha1:95639a80efb8d691feabe83428703dea89b873a4</id>
<content type='text'>
Inputting fractional non-decimal numbers has never worked correctly in our
OpenBSD-derived dc(1). It truncates the input to a number of decimal places
equal to the number of hexadecimal (or whatever base) places given on the
input. That's unacceptable, because many numbers require more precision to
represent in base 10 than in their original bases.

Fix this bug by using as many decimal places as needed to represent the
input, up to the maximum of the global scale factor.

This has one mildly surprising side effect: the scale of a number entered in
non-decimal mode will no longer necessarily equal the number of hexadecimal
(or whatever base) places given on the input. I think that's an acceptable
behavior change, given that inputting fractional non-decimal numbers never
worked in the first place, and the man page doesn't specify whether trailing
zeros on the input should affect a number's scale.

PR:		206230
Reported by:	nibbana@gmx.us
Reviewed by:	pfg
Differential Revision:	https://reviews.freebsd.org/D13336
</content>
</entry>
<entry>
<title>Sync with OpenBSD.</title>
<updated>2014-04-16T23:14:05Z</updated>
<author>
<name>Xin LI</name>
<email>delphij@FreeBSD.org</email>
</author>
<published>2014-04-16T23:14:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=be848c7a13013b0555c07bfe92892b5dd546163f'/>
<id>urn:sha1:be848c7a13013b0555c07bfe92892b5dd546163f</id>
<content type='text'>
MFC after:	2 weeks
</content>
</entry>
<entry>
<title>- Use BN_set_negative() and BN_is_negative() instead of subtracting or</title>
<updated>2012-12-30T15:20:27Z</updated>
<author>
<name>Kevin Lo</name>
<email>kevlo@FreeBSD.org</email>
</author>
<published>2012-12-30T15:20:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c3761c3848a0c3785259c94cf718ba2cd210f0c6'/>
<id>urn:sha1:c3761c3848a0c3785259c94cf718ba2cd210f0c6</id>
<content type='text'>
  comparing to zero.
- Fix fractional number exponentiation, especially for negative exponents.

Obtained from:	OpenBSD
</content>
</entry>
<entry>
<title>- style(9)</title>
<updated>2010-02-03T21:06:13Z</updated>
<author>
<name>Gabor Kovesdan</name>
<email>gabor@FreeBSD.org</email>
</author>
<published>2010-02-03T21:06:13Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7121df6349476d73276d4e51b4de6774cad003ca'/>
<id>urn:sha1:7121df6349476d73276d4e51b4de6774cad003ca</id>
<content type='text'>
Approved by:	delphij (mentor)
</content>
</entry>
<entry>
<title>Replace GNU bc/dc with BSDL versions ported from OpenBSD. They have a good</title>
<updated>2010-01-20T21:30:52Z</updated>
<author>
<name>Gabor Kovesdan</name>
<email>gabor@FreeBSD.org</email>
</author>
<published>2010-01-20T21:30:52Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=fdf1f88bcecce7bedef674be598a8cf89c3a3f1c'/>
<id>urn:sha1:fdf1f88bcecce7bedef674be598a8cf89c3a3f1c</id>
<content type='text'>
compatibility level with the GNU counterparts and have shown to be mature
enough. For now, the GNU versions aren't removed from the tree, just detached
from the build.

Sponsored by:		Google Summer of Code 2008
Portbuild run by:	erwin
Approved by:		delphij
</content>
</entry>
</feed>
