~ubuntu-branches/debian/lenny/fpc/lenny

« back to all changes in this revision

Viewing changes to fpcsrc/tests/webtbs/tw3160c.pp

  • Committer: Bazaar Package Importer
  • Author(s): Mazen Neifer, Torsten Werner, Mazen Neifer
  • Date: 2008-05-17 17:12:11 UTC
  • mfrom: (3.1.9 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080517171211-9qi33xhd9evfa0kg
Tags: 2.2.0-dfsg1-9
[ Torsten Werner ]
* Add Mazen Neifer to Uploaders field.

[ Mazen Neifer ]
* Moved FPC sources into a version dependent directory from /usr/share/fpcsrc
  to /usr/share/fpcsrc/${FPCVERSION}. This allow installing more than on FPC
  release.
* Fixed far call issue in compiler preventing building huge binearies.
  (closes: #477743)
* Updated building dependencies, recomennded and suggested packages.
* Moved fppkg to fp-utils as it is just a helper tool and is not required by
  compiler.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
{ %RESULT=207 }
 
2
{ Source provided for Free Pascal Bug Report 3160 }
 
3
{ Submitted by "Michalis Kamburelis" on  2004-06-12 }
 
4
{ e-mail: michalis@camelot.homedns.org }
 
5
var A:Extended;
 
6
begin
 
7
 { All lines below will raise runtime error 207
 
8
   (Invalid floating point operation, converted to EInvalidOp exception)
 
9
   under Win32.
 
10
 
 
11
   But under Linux they raise runtime error 216
 
12
   (General protection fault, converted to EAccessViolation). }
 
13
 A:=-3;  Writeln(Sqrt(A));
 
14
end.