From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,8f2146b9c1ab93cc X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-03-14 08:36:31 PST Newsgroups: comp.lang.ada Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.uchicago.edu!newsfeed.cs.wisc.edu!nnxp1.twtelecom.net!209.98.3.200.MISMATCH!priapus.visi.com!news-out.visi.com!hermes.visi.com!uunet!ash.uu.net!xyzzy!nntp From: Jeffrey Carter Subject: Re: ToString? X-Nntp-Posting-Host: e246420.msc.az.boeing.com Content-Type: text/plain; charset=us-ascii Message-ID: <3C90CD5A.438EE1DA@boeing.com> Sender: nntp@news.boeing.com (Boeing NNTP News Access) Content-Transfer-Encoding: 7bit Organization: The Boeing Company X-Accept-Language: en References: Mime-Version: 1.0 Date: Thu, 14 Mar 2002 16:18:34 GMT X-Mailer: Mozilla 4.73 [en]C-CCK-MCD Boeing Kit (WinNT; U) Xref: archiver1.google.com comp.lang.ada:21237 Date: 2002-03-14T16:18:34+00:00 List-Id: Christoph Grein wrote: > > From: Jeffrey Carter > > > > Ah, the '0' isn't a positive number thang! > > > > It's easy enough to test: > > > > with Ada.Text_IO; > > use Ada.Text_IO > > procedure Is_Zero_Positive is > > Zero : constant := 0; > > begin -- Is_Zero_Positive > > if Zero in Positive then > > Put_Line ("Zero is Positive"); > > else > > Put_Line ("Zero is not Positive"); > > end if; > > end Is_Zero_Positive; > > > > This puts "Zero is not Positive" to the standard output. QED. > > You mean a test or a mathematical proof? For a test, this is OK. I said "test". You are perhaps confused by my use of "QED", which of course is TED's brother. -- Jeffrey Carter