TIP: Click on subject to list as thread! ANSI
echo: c_echo
to: Tom Torfs
from: Darin McBride
date: 1998-06-25 21:01:38
subject: Difftime

FA> How else could it calculate the difference between two numbers ? 
 FA> Care to post an example of advanced subtraction ?  :-)

 TT> But like I said before: nothing requires the units of a 
 TT> time_t to be seconds. It might be 1/100 seconds or even 
 TT> smaller units, or perhaps units larger than a second 
 TT> (comparable to the 2 seconds units that DOS uses in 

Well, there is a much simpler reason for difftime ... if time_t is signed
long, time_t can't hold the difference between two time_t's if they are
> 2 billion apart... thus forcing you to double.  :-)


---
* Origin: Tanktalus' Tower BBS (1:250/102)
SEEN-BY: 396/1 622/419 632/371 633/260 267 270 371 634/397 635/506 728
SEEN-BY: 670/213 218
@PATH: 250/102 201 99 396/1 633/260 635/506 728 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.