Re: nil messaging? Is it safe?
Re: nil messaging? Is it safe?
- Subject: Re: nil messaging? Is it safe?
- From: Ondra Cada <email@hidden>
- Date: Sat, 28 Sep 2002 14:57:19 +0200
On Friday, September 27, 2002, at 06:14 , Simon Stapleton wrote:
float and double are both of size 4, are they not,
I think 8. Nevertheless, even if I was wrong...
so if there is 4 bytes of zero being returned they should also have their
bytes set to zero as a part of the assignment, no?
...this would not work either, since they are returned in a FPU register
which has nothing to do with $r3. Besides, generally with floats a zero
bit pattern might differ from a zero value (frankly, dunno how it is with
PPC -- one might check in docs, it would be there, I just have no time to
search just now).
The following simple test...
Alas, this kind of tests does not help much: since values returned are
essentially random, such test would only prove that it does not work if
the value differs; if it happens to be correct, it might be just as well
by pure chance as by design.
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
private email@hidden
http://www.ocs.cz/oc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.