swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Opinions on getUnsignedWithMin:withMax: semantics?


From: mcmullin
Subject: Opinions on getUnsignedWithMin:withMax: semantics?
Date: Thu, 3 Apr 1997 17:30:23 -0700 (MST)


getUnsignedWithMin:withMax: is a message defined on the
class UniformUnsigned.

Call me contrary, but I expected that for the special
case where both the min and max values are equal, the
semantics of this message would be to return that value
("with probability 1").  In fact, it crashes the app
(InternalError raiseEvent...) saying that this is not
allowed.  Well, why not?

In any case, I think if this behaviour is retained, the
docs ought to draw attention to it...

- Barry.


-- 

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
| Barry McMullin, ALife Group,               |    address@hidden |
| Santa Fe Institute, 1399 Hyde Park Road,   |  Voice: +1-505-984-8800 |
| Santa Fe, NM 87501, USA.                   |  FAX:   +1-505-982-0565 |
| http://www.eeng.dcu.ie/~mcmullin           |                         |
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.
                  ==================================


reply via email to

[Prev in Thread] Current Thread [Next in Thread]