TD-23333/TD-23334: TD and full 64bit number support

Missing or incomplete OpenText Gupta product features? Discuss it here!
Dave Rabelink
Founder/Site Admin
Founder/Site Admin
Netherlands
Posts: 1088
Joined: 24 Feb 2017, 09:12
Location: Gouda, The Netherlands

TD-23333/TD-23334: TD and full 64bit number support

Post by Dave Rabelink » 05 Mar 2017, 12:42

I have created 2 enhancement requests to make TD a full x64 development environment.
In short: to be a 'real' x64 development environment, the TD IDE and the SAL language should support the full range of 64bit numbers.

Ticket 2934686: Enh. request: TD IDE shows the full range of x64 numbers
TD IDE does not show/display the full range of 64 bit numbers in debugging tools like "Expressions", "Variables" etc.

Easy testcase is:
- create a number variable
- Set the value to SalNumberPower( 2, 63 ) -1 (as example)
- Evaluate the variable in "Expressions tool"
- Add variable to "Variables" tool

The value is not displayed correctly. It should display the value as-is.
The range should be the full x64 ranges.

This should apply to both x86 and x64 TD versions (those versions support x64 numbers)


Ticket 2934689: Enh. request: Sal language supports full range of x64 numbers
The Sal language should support the use of 64 bit number manipulations.

- Bitwise operators like AND, OR (&, | etc) should be able to process the full 64 bit ranges.
- Sal functions to get low and high parts of 64 bit numbers (32 bit low and 32 bit high) and also create 64 bit numbers from low and high 32 bit numbers

There is now a limitation, seems 32 bit.
Between 32 and 48 bit numbers, the results are incorrect.
Above 48 bit, TD throws error "Number too large".

This should apply to both x86 and x64 TD versions (those versions support x64 numbers)
Regards,
Dave Rabelink

Image
Articles and information on Team Developer Tips & Tricks Wiki
Download samples, documents and resources from TD Sample Vault
Videos on TDWiki YouTube Channel

User avatar
markus.essmayr
Site Admin
Site Admin
Austria
Posts: 92
Joined: 06 Mar 2017, 06:07
Location: Austria

TD-23333/TD-23334: TD and full 64bit number support

Post by markus.essmayr » 02 Jul 2017, 10:47

Hi Dave,

this is a very good enhancement request which should also include the LONGLONG/LPLONGLONG (equals INT64), ULONGLONG/LPULONGLONG (equals UINT64) as well as all pointer types in external function definitions.

Max
Markus Eßmayr
teamdeveloper@t-mx.com

Dave Rabelink
Founder/Site Admin
Founder/Site Admin
Netherlands
Posts: 1088
Joined: 24 Feb 2017, 09:12
Location: Gouda, The Netherlands

TD-23333/TD-23334: TD and full 64bit number support

Post by Dave Rabelink » 03 Jul 2017, 05:58

Hi Max,

The (LP)(U)LONGLONG definitions are already there (7.0.2), see screenshot of all possible NUMBER datatypes.

ExternalFuncDefs.png
You do not have the required permissions to view the files attached to this post.
Regards,
Dave Rabelink

Image
Articles and information on Team Developer Tips & Tricks Wiki
Download samples, documents and resources from TD Sample Vault
Videos on TDWiki YouTube Channel

Return to “Enhancement suggestions”

Who is online

Users browsing this forum: [Ccbot] and 0 guests