~ubuntu-branches/ubuntu/karmic/bc/karmic

« back to all changes in this revision

Viewing changes to Test/raise.b

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2007-12-05 12:24:03 UTC
  • mfrom: (3.1.2 lenny)
  • Revision ID: james.westby@ubuntu.com-20071205122403-rv1a7x90ktu1wl95
Tags: 1.06.94-3ubuntu1
* Merge with Debian; remaining changes:
  - Make bc/dc notice read and write errors on its input and output.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
for (i=0; i<1000; i++) a = 2^i;
2
 
a
 
2
length(a)
3
3
for (i=3000; i<3100; i++) a = 3^i;
4
 
a
 
4
length(a)
5
5
for (i=200; i<220; i++) a = (4^100)^i;
6
 
a
 
6
length(a)
7
7
quit