1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/lang/cu-prolog/files/patch-ad
Steve Price e628032176 Adding cu-prolog version 3.94.
An Experimental constraint logic programming language.

PR:		12536
Submitted by:	Issei Suzuki <issei@jp.FreeBSD.ORG>
1999-12-29 09:19:39 +00:00

14 lines
481 B
Plaintext

--- mainsub.c.old Wed Jul 7 02:22:15 1999
+++ mainsub.c Wed Jul 7 02:22:30 1999
@@ -1238,8 +1238,8 @@
times(&TIMES); /* get time */
ttemp = TIMES.tms_stime + TIMES.tms_utime;
tprint2 ("CPU time = %.3lf sec (Constraints Handling = %.3lf sec)\n",
- (ttemp - TIMESAVE) / CPUTIME.0,
- (CONSTRAINT_HANDLING_TIME / CPUTIME.0));
+ (ttemp - TIMESAVE) / (float)CPUTIME,
+ (CONSTRAINT_HANDLING_TIME / (float)CPUTIME));
}
void settimer() { /* set clock */