You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

slamchtst.f 2.1 kB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. *> \brief \b SLAMCHTST
  2. *
  3. * =========== DOCUMENTATION ===========
  4. *
  5. * Online html documentation available at
  6. * http://www.netlib.org/lapack/explore-html/
  7. *
  8. *
  9. * Authors:
  10. * ========
  11. *
  12. *> \author Univ. of Tennessee
  13. *> \author Univ. of California Berkeley
  14. *> \author Univ. of Colorado Denver
  15. *> \author NAG Ltd.
  16. *
  17. *> \date November 2011
  18. *
  19. *> \ingroup auxOTHERcomputational
  20. *
  21. * ===================================================================== PROGRAM SLAMCHTST
  22. *
  23. * -- LAPACK test routine (version 3.4.0) --
  24. * -- LAPACK is a software package provided by Univ. of Tennessee, --
  25. * -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..--
  26. * November 2011
  27. *
  28. * =====================================================================
  29. *
  30. * .. Local Scalars ..
  31. REAL BASE, EMAX, EMIN, EPS, RMAX, RMIN, RND, SFMIN,
  32. $ T, PREC
  33. * ..
  34. * .. External Functions ..
  35. REAL SLAMCH
  36. EXTERNAL SLAMCH
  37. * ..
  38. * .. Executable Statements ..
  39. *
  40. EPS = SLAMCH( 'Epsilon' )
  41. SFMIN = SLAMCH( 'Safe minimum' )
  42. BASE = SLAMCH( 'Base' )
  43. PREC = SLAMCH( 'Precision' )
  44. T = SLAMCH( 'Number of digits in mantissa' )
  45. RND = SLAMCH( 'Rounding mode' )
  46. EMIN = SLAMCH( 'Minimum exponent' )
  47. RMIN = SLAMCH( 'Underflow threshold' )
  48. EMAX = SLAMCH( 'Largest exponent' )
  49. RMAX = SLAMCH( 'Overflow threshold' )
  50. *
  51. WRITE( 6, * )' Epsilon = ', EPS
  52. WRITE( 6, * )' Safe minimum = ', SFMIN
  53. WRITE( 6, * )' Base = ', BASE
  54. WRITE( 6, * )' Precision = ', PREC
  55. WRITE( 6, * )' Number of digits in mantissa = ', T
  56. WRITE( 6, * )' Rounding mode = ', RND
  57. WRITE( 6, * )' Minimum exponent = ', EMIN
  58. WRITE( 6, * )' Underflow threshold = ', RMIN
  59. WRITE( 6, * )' Largest exponent = ', EMAX
  60. WRITE( 6, * )' Overflow threshold = ', RMAX
  61. WRITE( 6, * )' Reciprocal of safe minimum = ', 1 / SFMIN
  62. *
  63. END