On Mon, 7 Aug 2017 11:17:05 -0500, Todd Arnold wrote:

>I got this answer from someone else at IBM, who is an expert in the vector 
>instructions:
>"Currently to convert a 128-bit singed/unsigned integer in a vector register 
>to a packed decimal value you must store the value to memory and use the 
>standard integer conversion instruction CVBG to convert 64-bits at a time.  ...
>
Does "someone else" suggest working right-to-left or left-to-right?  And there's
a trick needed to cross the boundary since 2**64 is not a power of 10.  Would I
find an example if I RTFM PoOps?

>... A full 128-bit value will not fit into a 31-digit decimal number."
>
... a tautology, since
2**127: 170141183460469231731687303715884105728
... is greater than 
10**31:        10000000000000000000000000000000

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to