Hi Peter,

thanks for your response. Nice to hear from you :-)

They would be encoded quite differently.
Say you'd encode the value seven.
In LUV this would be 7.00000*10**0
In RUV this would be 000007*10**0

In either case the number of zero digits would depend
on the format of the DFP: D/E/X

For the sake of completeness:
In LUV the digit 7 would go into the combination field
In RUV the digit would be at the end of the significand.

Unless I am quite mistaken, which is still quite conceivable :-(

Kind regards,
Abe
===


Op 05/03/2024 om 15:19 schreef Peter Relson:
> I am imagining (and could easily be wrong) that the hex data is identical 
> across the views (and thus the instruction implementation does not care about 
> the view), and it's only a question of which bits you choose to look at (or 
> what arithmetic logical manipulation you use) if formatting the value for 
> human consumption.
>
> For example, the exponent differs, as does the significand (a term I had not 
> known of until seeing it in the POp).
>
> I don't know what kind of dump was being looked at, but perhaps there's a 
> formatting option within the dump viewing program that might say "show me 
> this as a Right-Unit View DFP value".
>
> Peter Relson
> z/OS Core Technology Design

Reply via email to