HP3000-L Archives

April 2004, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Vance, Jeff H (Cupertino)" <[log in to unmask]>
Reply To:
Vance, Jeff H (Cupertino)
Date:
Thu, 8 Apr 2004 11:38:39 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (22 lines)
Keven showed the easiest way to find the CI's maxint... If you try to do
  :calc 2^31    or    :calc 2^30*2-1 

you'll get:
"Result would be out of integer range. (CIERR 9735)"

But this works:
  :calc (2^30-1*2)+1

FWIW,
 Jeff

> And for those who can't remember that 2^32 -1 number,
> you can do this
> 
> :setvar maxint $7FFFFFFF
> :showvar max@
> MAXINT = 2147483647

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2