Microsoft KB Archive/57871

From BetaArchive Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Knowledge Base


Functions to Convert BCD (DECMATH.LIB) Format to IEEE

Article ID: 57871

Article Last Modified on 12/1/2003



APPLIES TO

  • Microsoft FORTRAN Compiler 3.2
  • Microsoft FORTRAN Compiler 3.3
  • Microsoft FORTRAN Compiler 3.31
  • Microsoft FORTRAN Compiler 4.0
  • Microsoft FORTRAN Compiler 4.01
  • Microsoft FORTRAN Compiler 4.1
  • Microsoft FORTRAN Compiler 5.0
  • Microsoft FORTRAN Compiler 5.1
  • Microsoft FORTRAN Compiler 4.1
  • Microsoft FORTRAN Compiler 5.0
  • Microsoft FORTRAN Compiler 5.1



This article was previously published under Q57871


SUMMARY

BCD2IEEE is a file that includes FORTRAN source code to convert data in Binary Coded Decimal (BCD) floating point used in the DECMATH.LIB library provided with Microsoft FORTRAN versions 3.2, 3.3, and 3.31, and IEEE floating-point format used in the coprocessor and emulator libraries provided with subsequent versions of Microsoft FORTRAN.

This file has been removed from the Software Library but can be requested by calling Microsoft Product Support Services. The table below lists the files provided in BCD2IEEE.

  File           Description
   ----------------------------------------------------------------

   SDECCVT        A FORTRAN function that converts the Binary Coded
                  Decimal floating-point format for single-precision
                  real numbers to IEEE floating-point format for
                  single-precision real numbers.

   SDECTST.FOR    A FORTRAN program to demonstrate using SDECCVT

   DDECCVT        A FORTRAN function that converts Binary Coded
                  Decimal floating-point format for double-precision
                  real numbers to IEEE floating-point format for
                  double-precision real numbers

   DDECTST.FOR    A FORTRAN program to demonstrate using DDECCVT
                


Additional query words: nofps kbinf 3.20 3.30 3.31 4.00 4.01 4.10 5.00 5.10

Keywords: KB57871