MTU C13R Dokumentacja Strona 14

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 25
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 13
;endif
ldd
outpt
jmp
fputnl
outpt rmb
2
resvd
rmb
2
busy rmb 2
type rmb
1
Always use this line.
Ditto
ieee fee "ieee4"
feb 0 ; No, we aren't careless— the double %n%n in the
; prompt below double spaces the screen lines.
instr feb 12
fee ''UDUMP loaded. To use: press PF7, then one of keys below.Jn%n"
fee "To disk: 'd'| to ieee4: 'i'i to printer: 'p'| to serial: 's'%n%n"
feb 0
end
<c k x x x x x x x x x x x x x x x x x x x x x x x x x x x x x >o <x x x x x x x x x x x x x x x x x x x x x x x x >
PROBLEMS IN MPASCAL AND MFORTRAN Thomas K. Roney teaches at Kent School, Kent
Crashes in Recursion and CT, 06757, and asked why SuperPET crashed in
Errors in Large Numeric Values lengthy recursions and why a factor of ten
was missing in large floating-point decimal
displays. We asked Bob Davis, Associate Editor in mPASCAL, to look into it, and
he did. His reply to Mr. Roney is printed below:
"By the way, I've discovered that the floating decimal point display bug exists
in mFORTRAN also! Recursing functions can be nested 10 deep and recursing pro
cedures can be nested 16 deep without a problem in microPASCAL. And, yes, Super
PET does go into rigor mortis (catatonia?) beyond these limits without any error
message. You may avoid the problem only with a software solution— write the re
cursing program to tally the calls; if the maximum is'reached, provide an error
message and prevent further recursion.
"I find that numbers up to but not including 1000000000.0 (0.1E+10) are display
ed correctly in floating decimal format. If there are no more than nine digits
to the left of the decimal point, the display will be correct. However, any lar
ger number will be displayed a factor of ten less than it should be in floating
decimal point format, as you discovered. Again, you must provide a software sol
ution. In mPASCAL, this might be: if value < 0.1E+10 then writeln (value :15:3)
else writeln (value * 10.0:15:3).
"MicroPASCAL will accept floating decimal point input correctly up to 1 followed
by 37 zeros, a decimal point, and a zero! Beyond this, you receive an error mes
sage, "Warning;line nn: Real number overflow" and the program continues although
the value of the variable is garbage. Also, the maximum field width for a float
ing decimal point display is 20. Neither of these limitations should normally be
a problem, however.
"Out of curiosity, I tried mFORTRAN using Example 27 from the tutorial disk to
see if the decimal shift bug is unique to mPASCAL or is general to the Waterloo
system. I find that the same decimal point shift occurs using the corresponding
format; i.e., mFORTRAN's 'print f15.3,r', which is equivalent to your example in
mPASCAL of 'writeln (r:15:3)'. You should warn your mFORTRAN students of this
and have them program a software solution.
SuperpPET Gazette, Vol.I No.11
-169-
December 1983/January 1984
Przeglądanie stron 13
1 2 ... 9 10 11 12 13 14 15 16 17 18 19 ... 24 25

Komentarze do niniejszej Instrukcji

Brak uwag

Philips 221B3LPCB/93 manuály

Uživatelské manuály a uživatelské příručky pro Televizory a monitory Philips 221B3LPCB/93.
Poskytujeme 1 manuály pdf Philips 221B3LPCB/93 ke stažení zdarma podle typů dokumentů: Uživatelský manuál






Další produkty a příručky pro Televizory a monitory Philips

Modely Typ Dokumentu
323E7QDAB/01 Uživatelský manuál   Philips Zaslon LCD 323E7QDAB/01 Uporabniški priročnik, 28 stránky
273P3LPHEB/69 Uživatelský manuál    Philips LCD 顯示器、LED 背光 273P3LPHEB/69 使用者手冊 [en] , 34 stránky
224E5QDAB/00 Uživatelský manuál   Philips LCD monitör ve SmartImage lite 224E5QHAB/00 Kullanıcı El Kitabı, 43 stránky
190CW9FB/93 Uživatelský manuál   Philips 宽屏幕液晶显示器 190CW9FB/93 用法说明, 109 stránky
228C3LSB/01 Uživatelský manuál   Philips Brilliance LED-valaistu LCD-näyttö 228C3LHSB/00 Käyttöopas, 49 stránky
206V4LSB/93 Uživatelský manuál   Philips 带 LED 背光源的液晶显示器 206V4LSB/93 用法说明, 36 stránky
19B4QCS5/00 Uživatelský manuál   Philips Brilliance LCD-näyttö ja SmartImage 19B4QCS5/00 Käyttöopas, 30 stránky
245C7QJSB/01 Uživatelský manuál   Philips Moda Tanek monitor z izjemno širokim barvnim spektrom 245C7QJSB/00 Uporabniški priročnik, 29 stránky
221V2AB/00 Uživatelský manuál   Philips LCD-näyttö, jossa SmartControl Lite, ääni 221V2AB/00 Käyttöopas [en] , 45 stránky
271P4QPJES/93 Uživatelský manuál   Philips Brilliance LED 背光源 AMVA 液晶显示器 271P4QPJES/93 用法说明, 29 stránky
200CW8FB/00 Uživatelský manuál   Philips Monitor widescreen LCD 200CW8FB/00 Istruzioni per l'uso [pt] , 112 stránky
272P4QPJKEB/00 Uživatelský manuál   Philips Brilliance LCD-näyttö, verkkokamera, MultiView 272P4QPJKEB/00 Käyttöopas, 35 stránky
221P6EPYEB/69 Uživatelský manuál    Philips Brilliance LCD 顯示器設有 SoftBlue 技術 221P6EPYEB/69 使用者手冊, 36 stránky
203V5LSU/93 Uživatelský manuál   Philips 采用 SmartControl Lite 技术的液晶显示器 203V5LSB26/93 用法说明, 34 stránky
228C3LHSB/00 Uživatelský manuál   Philips Brilliance LCD-monitor z osvetlitvijo ozadja LED 228C3LHSB/00 Uporabniški priročnik, 50 stránky
223V5LHSB2/69 Uživatelský manuál    Philips 帶 SmartControl Lite 功能的 LCD 顯示器 223V5LSB2/69 使用者手冊, 35 stránky
233V5QHABP/00 Uživatelský manuál    Philips LCD-näyttö, jossa SmartControl Lite 233V5QHABP/00 Käyttöopas [de] [en] , 41 stránky
200VW8FB/00 Uživatelský manuál   Philips LCD-laajakuvanäyttö 200VW8FB/00 Käyttöopas [da] [en] [et] [sv] , 86 stránky
190E1SB/00 Uživatelský manuál   Philips Monitor widescreen LCD 190E1SB/00 Istruzioni per l'uso, 86 stránky
237E4QHAD/00 Uživatelský manuál   Philips LCD monitör, LED arka aydınlatma 237E4LHSB/00 Kullanıcı El Kitabı [bs] [hr] , 43 stránky