Re: [ast-users] Unit of least precision (ULP)/spacing between floating point number problems

2013-11-18 Thread Tina Harriott
On 23 October 2013 03:59, Tina Harriott wrote: > On 11 August 2013 10:43, Tina Harriott wrote: >> On Wed, Jul 24, 2013 at 7:28 PM, Glenn Fowler wrote: >>> >>> On Wed, 24 Jul 2013 19:02:39 +0200 Tina Harriott wrote: Here's one of my little tough problems which I am unable to solve mysel

Re: [ast-users] Unit of least precision (ULP)/spacing between floating point number problems

2013-10-22 Thread Tina Harriott
On 11 August 2013 10:43, Tina Harriott wrote: > On Wed, Jul 24, 2013 at 7:28 PM, Glenn Fowler wrote: >> >> On Wed, 24 Jul 2013 19:02:39 +0200 Tina Harriott wrote: >>> Here's one of my little tough problems which I am unable to solve >>> myself, even after looking at the source code of ast-ksh. Th

Re: [ast-users] Unit of least precision (ULP)/spacing between floating point number problems

2013-09-18 Thread Roland Mainz
On Thu, Sep 19, 2013 at 3:28 AM, Tina Harriott wrote: > On 11 August 2013 10:43, Tina Harriott wrote: >> On Wed, Jul 24, 2013 at 7:28 PM, Glenn Fowler wrote: >>> On Wed, 24 Jul 2013 19:02:39 +0200 Tina Harriott wrote: Here's one of my little tough problems which I am unable to solve my

Re: [ast-users] Unit of least precision (ULP)/spacing between floating point number problems

2013-09-18 Thread Tina Harriott
On 11 August 2013 10:43, Tina Harriott wrote: > On Wed, Jul 24, 2013 at 7:28 PM, Glenn Fowler wrote: >> >> On Wed, 24 Jul 2013 19:02:39 +0200 Tina Harriott wrote: >>> Here's one of my little tough problems which I am unable to solve >>> myself, even after looking at the source code of ast-ksh. Th

Re: [ast-users] Unit of least precision (ULP)/spacing between floating point number problems

2013-08-12 Thread Glenn Fowler
thanks On Tue, 13 Aug 2013 00:00:59 +0200 =?KOI8-R?B?z8zYx8Egy9LZ1sHOz9fTy8HR?= wrote: > Yes, for IEEE754 floating point. I hope the other fp systems have been > eradicated from the face of the earth by now. Unless you want to port > AST to a IBM 7094 it should work :) > Olga > On Mon, Aug 12,

Re: [ast-users] Unit of least precision (ULP)/spacing between floating point number problems

2013-08-12 Thread ольга крыжановская
Yes, for IEEE754 floating point. I hope the other fp systems have been eradicated from the face of the earth by now. Unless you want to port AST to a IBM 7094 it should work :) Olga On Mon, Aug 12, 2013 at 11:52 PM, Glenn Fowler wrote: > > On Sun, 11 Aug 2013 10:43:06 +0200 Tina Harriott wrote:

Re: [ast-users] Unit of least precision (ULP)/spacing between floating point number problems

2013-08-12 Thread Glenn Fowler
On Sun, 11 Aug 2013 10:43:06 +0200 Tina Harriott wrote: > On Wed, Jul 24, 2013 at 7:28 PM, Glenn Fowler wrote: > > > > On Wed, 24 Jul 2013 19:02:39 +0200 Tina Harriott wrote: > >> Here's one of my little tough problems which I am unable to solve > >> myself, even after looking at the source code

Re: [ast-users] Unit of least precision (ULP)/spacing between floating point number problems

2013-08-12 Thread ольга крыжановская
David send Roland a comment that nextafter(x+1.1,5) does not figure the data type of x+1.1 correctly and always uses the data type of the right value. IMO the rules of ISO C (C1X) should apply. The difficult part is that I do not know how to do that with the arithmetic engine in ksh, some how the

Re: [ast-users] Unit of least precision (ULP)/spacing between floating point number problems

2013-08-12 Thread Glenn Fowler
On Sun, 11 Aug 2013 22:57:40 +0200 Roland Mainz wrote: > On Sun, Aug 11, 2013 at 6:15 PM, Cedric Blancher > wrote: > > On 11 August 2013 10:43, Tina Harriott wrote: > >> On Wed, Jul 24, 2013 at 7:28 PM, Glenn Fowler > >> wrote: > >>> > >>> On Wed, 24 Jul 2013 19:02:39 +0200 Tina Harriott wrote

Re: [ast-users] Unit of least precision (ULP)/spacing between floating point number problems

2013-08-11 Thread Roland Mainz
On Sun, Aug 11, 2013 at 6:15 PM, Cedric Blancher wrote: > On 11 August 2013 10:43, Tina Harriott wrote: >> On Wed, Jul 24, 2013 at 7:28 PM, Glenn Fowler wrote: >>> >>> On Wed, 24 Jul 2013 19:02:39 +0200 Tina Harriott wrote: Here's one of my little tough problems which I am unable to solve >

Re: [ast-users] Unit of least precision (ULP)/spacing between floating point number problems

2013-08-11 Thread Cedric Blancher
On 11 August 2013 10:43, Tina Harriott wrote: > On Wed, Jul 24, 2013 at 7:28 PM, Glenn Fowler wrote: >> >> On Wed, 24 Jul 2013 19:02:39 +0200 Tina Harriott wrote: >>> Here's one of my little tough problems which I am unable to solve >>> myself, even after looking at the source code of ast-ksh. Th

Re: [ast-users] Unit of least precision (ULP)/spacing between floating point number problems

2013-08-11 Thread Cedric Blancher
On 11 August 2013 10:43, Tina Harriott wrote: > On Wed, Jul 24, 2013 at 7:28 PM, Glenn Fowler wrote: >> >> On Wed, 24 Jul 2013 19:02:39 +0200 Tina Harriott wrote: >>> Here's one of my little tough problems which I am unable to solve >>> myself, even after looking at the source code of ast-ksh. Th

Re: [ast-users] Unit of least precision (ULP)/spacing between floating point number problems

2013-08-11 Thread Tina Harriott
On Wed, Jul 24, 2013 at 7:28 PM, Glenn Fowler wrote: > > On Wed, 24 Jul 2013 19:02:39 +0200 Tina Harriott wrote: >> Here's one of my little tough problems which I am unable to solve >> myself, even after looking at the source code of ast-ksh. The problem >> below requires a good understanding how

Re: [ast-users] Unit of least precision (ULP)/spacing between floating point number problems

2013-07-24 Thread Glenn Fowler
On Wed, 24 Jul 2013 19:02:39 +0200 Tina Harriott wrote: > Here's one of my little tough problems which I am unable to solve > myself, even after looking at the source code of ast-ksh. The problem > below requires a good understanding how floating point numbers are > implemented in computers. > I'

[ast-users] Unit of least precision (ULP)/spacing between floating point number problems

2013-07-24 Thread Tina Harriott
Here's one of my little tough problems which I am unable to solve myself, even after looking at the source code of ast-ksh. The problem below requires a good understanding how floating point numbers are implemented in computers. I'm trying to prototype code and like to iterate over a small, linear