comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Bug in ISHFT?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Bug in ISHFT? [message #39658] Sun, 30 May 2004 18:59
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
Would anybody call this a bug in IDL?

IDL> print, ishft(6UL,40UL)
1536
IDL> print, ishft(6UL,8UL)
1536

ISHFT only seems to handle integers up to 32 bits, and then wraps
around.

Craig

IDL> print, !version
{ x86 linux unix linux 6.0 Jun 27 2003 32 64}

--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@REMOVEcow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: FLOW3, PLOT and XOBJVIEW on same spinning window!!
Next Topic: Announcing GDL 0.8.2, now also for Mac OS X

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 01:38:47 PDT 2025

Total time taken to generate the page: 0.48128 seconds