[m-rev.] for review: implemented math.domain_checks/0 for Java

James Goddard goddardjames at yahoo.com
Wed Dec 10 12:02:11 AEDT 2003


Estimated hours taken: 1
Branches: main

Implement some library procedures for the Java
back-end.

library/math.m:
	Implement domain_checks/0 for Java.


Index: math.m
===================================================================
RCS file:
/home/mercury1/repository/mercury/library/math.m,v
retrieving revision 1.45
diff -u -d -r1.45 math.m
--- math.m      7 Nov 2003 16:51:35 -0000       1.45
+++ math.m      10 Dec 2003 00:52:40 -0000
@@ -264,6 +264,11 @@
 #endif
 ").

+:- pragma foreign_proc("Java", domain_checks,
+               [thread_safe, promise_pure], "
+       succeeded = true;
+").
+
 %
 % Mathematical constants from math.m
 %


http://personals.yahoo.com.au - Yahoo! Personals
New people, new possibilities. FREE for a limited time.
--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list