embedded systems developers tools, cross compilers
  Home  |   SwiftX Archive  |   SwiftForth Archive  |

Re: Why TIME's ud?

From: Dennis W. Bulgrien <dbulgrien_at_vcsd.com>
Date: Tue, 27 Mar 2001 08:07:56 -0600

Nevermind. I see:

5.3.1 Date and Time of Day Functions
...
SwiftX stores time information internally as an unsigned, double number repre-senting
seconds since midnight. There are 86,400 seconds in a day, so a double
number is required for portability across 16- and 32-bit implementations.

Since I need to keep a log of time on a 32-bit system, I'm wondering if I aught to store the whole double...

-----Original Message-----
From: swiftx-bounce_at_forth.com [mailto:swiftx-bounce_at_forth.com]On Behalf
Of Dennis W. Bulgrien
Sent: Tuesday, March 27, 2001 8:01 AM
To: Swiftx_at_Forth. Com
Subject: [swiftx] Why TIME's ud?

@TIME, (TIME), and .TIME take an unsigned double number ud. When is the double utilized since the max number of seconds since
midnight is 86400? Are the 32-bit folks carrying around an extra zero cell for the 16-bit folks?

--
Dennis W. Bulgrien, Engineer            Mailto:dbulgrien_at_vcsd.com
VertexRSI, Controls and Structures      http://www.vcsd.com
1915 E. Harrison Road                   tel: 903 295 1480 x287
Longview, TX  75604-5438                fax: 903 295 1479
----------------------------------------------------------------------
swiftx_at_forth.com          The SwiftX programming discussion email list
To unsubscribe,  send subject "unsubscribe swiftx" to listar_at_forth.com
For help with listar commands, send subject "help" to listar_at_forth.com
Archives are located at http://www.forth.com/swiftx -- check them out!
----------------------------------------------------------------------
swiftx_at_forth.com          The SwiftX programming discussion email list
To unsubscribe,  send subject "unsubscribe swiftx" to listar_at_forth.com
For help with listar commands, send subject "help" to listar_at_forth.com
Archives are located at http://www.forth.com/swiftx -- check them out!
Received on Tue Mar 27 2001 - 06:09:06 PST

This archive was generated by hypermail 2.2.0 : Wed Jan 07 2009 - 03:04:23 PST