# Binary Fuzzy Calculations...

Thorbjoern List (list@list.dk)
Tue, 6 Jul 1999 14:32:57 +0200 (MET DST)

Hi There,

We are in the pursuit of creating a very fast piece of code to calculate

(x*y)/(base-1) where x, y E {0..base}

In essence, x and y are n-base binary numbers representing a fuzzy number
between 0 and 1. Hence, the result should also be between 0 and 1...

We would like the above calculation done with only

AND, OR, XOR, NOT, SHIFT right and left

to make the calculations very fast.

Example:

x = 6 (110)
y = 4 (100)
base = 8

(x*y)/(base-1) = (6*4)/(7) = 3.xxx = 3 (011)

We would like a set of AND, OR, etc. to

110 and 100 -> 011

And we would like this for any base (8, 16, 24, etc.).

Of course, in 8 bit or better representation, this becomes more
interesting...:-)

I hope someone can help!

Thanks!

Thorbjoern

-----------== Posted via Newsfeeds.Com, Uncensored Usenet News ==----------
http://www.newsfeeds.com The Largest Usenet Servers in the World!
------== Over 73,000 Newsgroups - Including Dedicated Binaries Servers ==-----

############################################################################
This message was posted through the fuzzy mailing list.
(1) To subscribe to this mailing list, send a message body of
"SUB FUZZY-MAIL myFirstName mySurname" to listproc@dbai.tuwien.ac.at
(2) To unsubscribe from this mailing list, send a message body of
"UNSUB FUZZY-MAIL" or "UNSUB FUZZY-MAIL yoursubscription@email.address.com"
to listproc@dbai.tuwien.ac.at
(3) To reach the human who maintains the list, send mail to
fuzzy-owner@dbai.tuwien.ac.at
(4) WWW access and other information on Fuzzy Sets and Logic see
http://www.dbai.tuwien.ac.at/ftp/mlowner/fuzzy-mail.info
(5) WWW archive: http://www.dbai.tuwien.ac.at/marchives/fuzzy-mail/index.html