[Vm-dev] Float math in VMMaker-dtl.123

Bert Freudenberg bert at freudenbergs.de
Wed Jul 1 15:13:30 UTC 2009


I just noticed that

bytecodePrimGreaterOrEqual
	...
	aBool := self primitiveFloatLess: rcvr thanArg: arg.
	successFlag ifTrue: [^self booleanCheat: aBool not].

got changed to

bytecodePrimGreaterOrEqual
	...
	aBool := self primitiveFloatGreaterOrEqual: rcvr toArg: arg.
	successFlag ifTrue: [^self booleanCheat: aBool not].

but shouldn't that be

bytecodePrimGreaterOrEqual
	...
	aBool := self primitiveFloatGreaterOrEqual: rcvr toArg: arg.
	successFlag ifTrue: [^self booleanCheat: aBool].

and similarly for bytecodePrimLessOrEqual?

- Bert -




More information about the Vm-dev mailing list