summaryrefslogtreecommitdiff
path: root/TAO/local/bin/Event_Service/BCU.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/local/bin/Event_Service/BCU.cpp')
-rw-r--r--TAO/local/bin/Event_Service/BCU.cpp31
1 files changed, 0 insertions, 31 deletions
diff --git a/TAO/local/bin/Event_Service/BCU.cpp b/TAO/local/bin/Event_Service/BCU.cpp
deleted file mode 100644
index 862f6240cdc..00000000000
--- a/TAO/local/bin/Event_Service/BCU.cpp
+++ /dev/null
@@ -1,31 +0,0 @@
-// $Id$
-
-#include "BCU.h"
-#include "ace/ACE.h"
-
-
-u_long
-ACE_BCU (u_long n)
-{
- const u_long ACE_BCU_PRIME_NUMBER = 9619;
-
- u_long retval = 0;
-
- while (n-- > 0)
- retval = ACE::is_prime (ACE_BCU_PRIME_NUMBER, 2, ACE_BCU_PRIME_NUMBER / 2);
-
- return retval;
-}
-
-
-u_long
-ACE_BCU (u_long number,
- u_long n)
-{
- u_long retval = 0;
-
- while (n-- > 0)
- retval = ACE::is_prime (number, 2, number);
-
- return retval;
-}