GNU Pascal Homepage - gpc - gpc-announce - gpc-de - gpc-doc
Diese Seite auf deutsch

Mail #9154

Back to main page of archive

Previous mail   Next mail   Unformatted/full headers
Overview  10 days   Subject   Date   Thread   Author  

From: Mirsad Todorovac
Subject: range check test programs
Date: 5 Aug 2003, 13:41:53

On Mon, 4 Aug 2003, Frank Heckenbach wrote:

> Mirsad Todorovac wrote:
>
> > > - Val 3rd parameter
> >
> > It's in mir034[cd].pas - I believe they should be in last attachment.
> > I may have forgotten to mention.
>
> They weren't there.

Good Lord! You're right. They're attached now. (rngv0.05.tar.gz)

> > > BTW, some tests do "too much", but I'll leave it at that now. (Hope
> > > they'll always catch the right error.)
> >
> > Well, so do I: but some things I've inherited some of it.
> >
> > I hope you don't mean TGrayScale enumerated type, because I'm sort of fond
> > of it. (-;
>
> No, I don't mean that. Sometimes do you an additional assignment
> after the critical statment and in a few cases you do a loop where a
> single statement at the critical step would suffice.

Well, I was somewhat puzzled if the statement that isn't used by
anything might be optimized out at -O3, I guess.

> > You could have noticed how I try to catch precisely "one off" errors in my
> > last tests, so I hope they're improved by now ...
>
> Yes, in most cases it's quite accurate. (Not always, but that's ok
> -- testing one off *always* could leave a small chance that the
> range checks miss "more" out-of-range cases. So I think in this
> regard the mixture is ok.)

OK.

> Not exactly. These declarations would be valid. But a subrange type
> with a (non-constant) out-of-range initializer.

mir046[ceil][lu].pas

> Still missing now:
>
> - Val 3rd parameter

mir034[cd].pas (finally)

> - Pack, Unpack more strictly

Still TODO.

> - Type initializers

I think that's touched in mir046*.pas

> - `asm' target (IA32 specific suffices)

Still TODO.

I should have done more, but I'm sending this immediatelly, for the
remaining subjects will require more study.

Mirsad

File attachment

Previous mail   Next mail   Unformatted/full headers
Overview  10 days   Subject   Date   Thread   Author  


Replies

Author Subject Date
Frank Heckenbach range check test programs 5 Aug 2003, 17:49:11

In reply to

Author Subject Date
Frank Heckenbach range check test programs 4 Aug 2003, 21:17:42

Back to main page of archive


Note: This page contains information that does not originate from the owner of this web site, but from the authors of the mails archived. The owner of this web site is not responsible for the content of such information. Any use of that infomation requires the consent of the respective author.

Where WWW addresses (URLs) in the mails archived are marked as hyperlinks, this is only for the comfort of the reader. The content of the web pages linked to like this does not necessarily reflect the opinion of the owner of this web site or of the authors of the mails archived. The owner of this web site is not responsible for the content of such web pages. Those pages are explicitly not to be considered as part of the content of this page, but merely as references.


This page was created by Crystal 0.999 (Linux 2.4.27/i686).