Search the web
Sign In
New User? Sign Up
gobo-eiffel · Gobo Eiffel
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Bug in KI_PLATFORM?   Message List  
Reply | Forward Message #1295 of 1768 |
Re: [gobo-eiffel] Bug in KI_PLATFORM?

Brian Heilig wrote:
> I think there is a bug in the postcondition of Boolean_bits in
> ki_platform.ge revision 1.9. Boolean_bytes is a once routine in
> KL_PLATFORM that depends on Boolean_bits (using VE or SE). But the
> postcondition of Boolean_bits uses the result of Boolean_bytes. Here
> is the definition of Boolean_bits in KI_PLATFORM
>
> Boolean_bits: INTEGER is
> -- Number of bits in a value of type BOOLEAN
> deferred
> ensure
> large_enough: Result >= 1
> small_enough: Result <= Boolean_bytes * Byte_bits
> end
>
> Notice how this is different from the postcondition in Character_bits
> for example:
>
> Character_bits: INTEGER is
> -- Number of bits in a value of type CHARACTER
> deferred
> ensure
> -- Note: Postcondition commented out to avoid recursive
> -- call in once-function in KL_PLATFORM:
> -- definition: Result = Character_bytes * Byte_bits
> more_than_byte: Result >= Byte_bits
> end
>
> I think Boolean_bits was just missed.

This is fixed now.
Thank you for reporting this problem.

--
Eric Bezault
mailto:ericb@...
http://www.gobosoft.com




Thu Sep 22, 2005 10:06 pm

gobosoft
Offline Offline
Send Email Send Email

Forward
Message #1295 of 1768 |
Expand Messages Author Sort by Date

I think there is a bug in the postcondition of Boolean_bits in ki_platform.ge revision 1.9. Boolean_bytes is a once routine in KL_PLATFORM that depends on...
Brian Heilig
heiligb
Offline Send Email
Sep 21, 2005
8:33 pm

... This is fixed now. Thank you for reporting this problem. -- Eric Bezault mailto:ericb@... http://www.gobosoft.com...
Eric Bezault
gobosoft
Offline Send Email
Sep 22, 2005
10:06 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help