___ld12mul
function · crt · primitive
- Address
0x412ef1· 544 bytes, up to0x413110- Signature
void __cdecl (Ld12Real *x, Ld12Real *y)- Meaning
- Multiplies a 12-byte real by another, keeping the partial products of word sum 4 and up, rounded to nearest even
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- crt/decimal#multiplying-12-byte-reals
- Test
crt::crt_ld12mul_difftest,crt::crt_multtenpow12_difftest,crt::crt_i10_output_difftest
Finding: Multiplying 12-byte reals in crt: decimal digits
___ld12mul(x, y) sets x to x*y. Of the word products x[p]*y[q] of the five-word
mantissas, only those with p+q of 4 or more are added, at word p+q-4 of a 96-bit sum. The exponent is the sum less 0x3ffe, one more per operand of exponent 0. The sum shifts left
until its top bit is set while the exponent is above 0; an exponent e of 0 or below shifts it
right 1-e places, a sticky bit kept. It rounds to nearest even on the low word and keeps the top
80 bits. An exponent of 0x7fff in or out, or a sum above 0xbffd, is infinite; a sum of 0x3fbf or
less, or a zero operand, is +0.
The derivation is in the doc.
Callers 2
- I10_OUTPUT crt
- ___multtenpow12 crt
Callees 3
Calls and jumps by a bare address, from tables/calls.tsv.