Sujet : Re: 'Nuther Programming Challenge
De : c186282 (at) *nospam* nnada.net (c186282)
Groupes : comp.os.linux.advocacy comp.os.linux.miscDate : 02. Apr 2025, 13:19:03
Autres entêtes
Message-ID : <XpCcnQuJH8mvtnD6nZ2dnZfqnPednZ2d@giganews.com>
References : 1
User-Agent : Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0
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. IRS,
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 ..... !!!