Syntax
cvtdg $s_reg, $d_reg
cvtdg $d_reg/$s_reg
Description
Convert D_floating to G_floating converts the D_floating contents of $s_reg to the G_floating precision, rounds according to the rounding mode, and places the result in $d_reg. If an overflow occurs, an unpredictable value is stored in $d_reg and a floating-point trap occurs.
Qualifiers
The following table describes the qualifiers for the cvtdg instructions:
Instruction | Qualifier description |
no qualifier | VAX Rounding Mode: Normal rounding |
VAX Trap Mode: Imprecise, underflow disabled | |
cvtdgc | VAX Rounding Mode: Chopped |
cvtdgu | VAX Trap Mode: Imprecise, underflow enabled |
cvtdguc | Combined meanings of cvtdgc and cvtdgu |
cvtdgs | VAX Trap Mode: Software, underflow disabled |
VAX Convert-to-Integer Trap Mode: Software, integer overflow disabled | |
cvtdgsc | Combined meanings of cvtdgs and cvtdgc |
cvtdgsu | VAX Trap Mode: Software, underflow enabled |
cvtdgsuc | Combined meanings of cvtdgs and cvtdguc |