| Index | Manual | Download | Source | Macros | Embedded word Case ins.
Sitemap | Links | Forum | Tests | Projects

# Test t1452: Floating point double-precision special values

Tested procedures
  ExpParseFP

Source & expected listing t1452.htm.lst
  `| |EUROASM LIST=ON,DUMP=ON,DUMPWIDTH=24 | |t1452 PROGRAM FORMAT=BIN,MODEL=TINY,WIDTH=16,LISTMAP=OFF,LISTGLOBALS=OFF |[DATA] |[DATA] |0000:010000000000F0FF | DQ -#SNAN |0008:000000000080F0FF | DQ -#QNAN |0010:000000000000F0FF | DQ -#INF |0018:FFFFFFFFFFFFEFFF | DQ -1.797_693_134_862_315_8_E+308 ; Maximum negative value. |## W2211 Precision lost in conversion to float type DQ. |0020:0000000000001080 | DQ -2.225_073_858_507_201_4_E-308 ; Minimum negative normal value. |## W2211 Precision lost in conversion to float type DQ. |0028:0000000000000080 | DQ -#ZERO |0030:0000000000000000 | DQ 0.0 |0038:0000000000000000 | DQ +#ZERO |0040:0000000000000000 | DQ +1E-324 ; Underflowed positive value. |## W2216 Underflow in conversion to float type DQ. |0048:0000000000001000 | DQ +2.225_073_858_507_201_4_E-308 ; Minimum positive normal value. |## W2211 Precision lost in conversion to float type DQ. |0050:FFFFFFFFFFFFEF7F | DQ +1.797_693_134_862_315_8_E+308 ; Maximum positive value. |## W2211 Precision lost in conversion to float type DQ. |0058:000000000000F07F | DQ +1E+309 ; Overflowed positive value. |## W2215 Overflow in conversion to float type DQ. |0060:000000000000F07F | DQ +#INF |0068:010000000000F07F | DQ +#SNAN |0070:000000000080F07F | DQ +#QNAN | |ENDPROGRAM t1452`

Expected messages t1452.out
  `I0180 Assembling source file "t1452.htm". I0270 Assembling source "t1452". I0310 Assembling source pass 1. I0330 Assembling source pass 2 - final. I0470 Assembling program "t1452". "t1452.htm"{49} I0510 Assembling program pass 1. "t1452.htm"{49} W2211 Precision lost in conversion to float type DQ. "t1452.htm"{54} W2211 Precision lost in conversion to float type DQ. "t1452.htm"{56} W2216 Underflow in conversion to float type DQ. "t1452.htm"{61} W2211 Precision lost in conversion to float type DQ. "t1452.htm"{63} W2211 Precision lost in conversion to float type DQ. "t1452.htm"{65} W2215 Overflow in conversion to float type DQ. "t1452.htm"{67} I0530 Assembling program pass 2 - final. "t1452.htm"{49} W2211 Precision lost in conversion to float type DQ. "t1452.htm"{54} W2211 Precision lost in conversion to float type DQ. "t1452.htm"{56} W2216 Underflow in conversion to float type DQ. "t1452.htm"{61} W2211 Precision lost in conversion to float type DQ. "t1452.htm"{63} W2211 Precision lost in conversion to float type DQ. "t1452.htm"{65} W2215 Overflow in conversion to float type DQ. "t1452.htm"{67} I0660 16bit TINY BIN file "t1452.bin" created, size=120. "t1452.htm"{72} I0650 Program "t1452" assembled in 2 passes with errorlevel 2. "t1452.htm"{72} I0750 Source "t1452" (102 lines) assembled in 2 passes with errorlevel 2. I0860 Listing file "t1452.htm.lst" created, size=1427. I0990 EuroAssembler terminated with errorlevel 2.`

▲Back to the top▲