To get a taste of creating a program that implements government
procedures, I challenge all to write a C function (or the equivalent in
some other language) to calculate the federal withholding tax.
Why bother?
The last of your "programming challenges" I bothered with was using libgmp for computing subfactorials. When I published my answer, not only
did you not acknowledge it, but you never published _your_ answer.
To get a taste of creating a program that implements government
procedures, I challenge all to write a C function (or the equivalent
in some other language) to calculate the federal withholding tax.
The procedures are spelled out here:
https://www.irs.gov/pub/irs-pdf/p15t.pdf
Don't forget that we are dealing with MONEY, i.e. BIG BUCKS.
Therefore, the use of decimal floating point according to
IEEE 754-2008 is required:
https://en.wikipedia.org/wiki/IEEE_754-2008_revision
So get going!
If you get stuck just contact know-it-all rblowman. He is
a personal associate of Elon Musk.
Ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha!
So get going!
On 2 Apr 2025 11:28:44 GMT, vallor wrote:
Why bother?See first sentence.
Then enroll in a remedial reading program.
id=18113&group=comp.os.linux.advocacy#18113The last of your "programming challenges" I bothered with was usingOh but I did publish:
libgmp for computing subfactorials. When I published my answer, not
only did you not acknowledge it, but you never published _your_ answer.
https://www.rocksolidbbs.com/computers/article-flat.php?
My solution, however, being the ultimate, was so much better than yours
that you became extremely flustered and blotted it out of your mind.
On 4/2/25 7:16 AM, Farley Flud wrote:
To get a taste of creating a program that implements government
procedures, I challenge all to write a C function (or the equivalent
in some other language) to calculate the federal withholding tax.
The procedures are spelled out here:
https://www.irs.gov/pub/irs-pdf/p15t.pdf
Don't forget that we are dealing with MONEY, i.e. BIG BUCKS.
Therefore, the use of decimal floating point according to
IEEE 754-2008 is required:
https://en.wikipedia.org/wiki/IEEE_754-2008_revision
So get going!
If you get stuck just contact know-it-all rblowman. He is
a personal associate of Elon Musk.
Ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha!
HA HA HA ! That's what so few seem to GET !
Huge, old, govt bureaucracy with a mass of
rules tweaked and re-tweaked to please various
pols and pressure groups. You need a good CPA
or dedicated student at minimum to kind-of
understand it.
PROBABLY similar issues in the UK/EU.
Oh, and it's always 'Kind Of' - even the
agencies themselves don't know how all the
rules work out anymore. SSA - awful.
way way beyond awful. AM hoping Trump nukes
the existing IRS. A new, plain, deal is now
BADLY needed. The bureaucracy was bad enough,
but all the 'fixes' created by pols and their
favorite donors ..... !!!
Mine formatted the numbers with commas to make them more readable.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (2 / 14) |
Uptime: | 49:00:06 |
Calls: | 10,397 |
Calls today: | 5 |
Files: | 14,066 |
Messages: | 6,417,286 |
Posted today: | 1 |