Re: [fpc-pascal] License question; unit to view floating-point details

2008-09-07 Thread Tom Verhoeff
On Sun, Sep 07, 2008 at 12:44:13PM +0200, Marco van de Voort wrote: > > > > > > Post the sources somewhere using the license header we use? I made the source available as a Contributed Unit using a modified LGPL. You can find a zip archive here:

Re: [fpc-pascal] License question; unit to view floating-point details

2008-09-07 Thread Tom Verhoeff
On Sun, Sep 07, 2008 at 07:53:06AM -0300, Felipe Monteiro de Carvalho wrote: > I would suggest to put this routines in a new unit, to keep the > existing base units small and clean. How about naming them FloatUtils? Tom -- E-MAIL: T.Verhoeff @ TUE.NL | Dept. of Math. & Comp. Science

Re: [fpc-pascal] License question; unit to view floating-point details

2008-09-07 Thread Jonas Maebe
On 07 Sep 2008, at 11:44, Marco van de Voort wrote: This is a bit more liberal than LGPL either, otherwise everybody would have to linking dynamically to FPC libs, which is technically hard to impossible. (and not desirable to make that mandatory anyway). Or they would have to make the ob

Re: [fpc-pascal] License question; unit to view floating-point details

2008-09-07 Thread Marco van de Voort
In our previous episode, Felipe Monteiro de Carvalho said: > I would suggest to put this routines in a new unit, to keep the > existing base units small and clean. Fragmenting the same kind of functionality over several units is IMHO not clean. ___ fpc-p

Re: [fpc-pascal] License question; unit to view floating-point details

2008-09-07 Thread Felipe Monteiro de Carvalho
I would suggest to put this routines in a new unit, to keep the existing base units small and clean. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] License question; unit to view floating-point details

2008-09-07 Thread Marco van de Voort
In our previous episode, Tom Verhoeff said: > > > > > > If it's endian safe and if there are tests, I propose to incoperate it > > > in math. > > > > The "Tostring" stuff should go into sysutils or strutils. > > There are also some constants and (conversion) types shared by the > mathematical o

Re: [fpc-pascal] License question; unit to view floating-point details

2008-09-07 Thread Marco van de Voort
In our previous episode, Tom Verhoeff said: > > > > Post the sources somewhere using the license header we use? > > I intend to do just that. I was considering the use of plain GPL, > rather than LGPL. However, I wonder if that would interfere with the > incorporation into FreePascal. Neither a

Re: [fpc-pascal] License question; unit to view floating-point details

2008-09-07 Thread Tom Verhoeff
On Sat, Sep 06, 2008 at 11:28:52PM +0200, Marco van de Voort wrote: > In our previous episode, Florian Klaempfl said: > > > Would there be any interest in incorporating it? > > > > If it's endian safe and if there are tests, I propose to incoperate it > > in math. > > The "Tostring" stuff should

Re: [fpc-pascal] License question; unit to view floating-point details

2008-09-07 Thread Tom Verhoeff
On Sat, Sep 06, 2008 at 09:31:02PM +0200, Florian Klaempfl wrote: >> >> What would I need to do to release it under the same license as >> other FreePascal libraries? > > Post the sources somewhere using the license header we use? I intend to do just that. I was considering the use of plain GPL,

Re: [fpc-pascal] License question; unit to view floating-point details

2008-09-06 Thread Marco van de Voort
In our previous episode, Florian Klaempfl said: > > Would there be any interest in incorporating it? > > If it's endian safe and if there are tests, I propose to incoperate it > in math. The "Tostring" stuff should go into sysutils or strutils. ___ fpc

Re: [fpc-pascal] License question; unit to view floating-point details

2008-09-06 Thread Florian Klaempfl
Tom Verhoeff schrieb: I have a created a unit FloatView to help you inspect in detail 32-bit (Single) and 64-bit (Double) IEEE 754 floating-point values (in case "every bit counts; note that when floating-point numbers are output in decimal, some information is inevitably lost). I would like to

Re: [fpc-pascal] License question; unit to view floating-point details

2008-09-06 Thread Adriaan van Os
Tom Verhoeff wrote: Would there be any interest in incorporating it? Here are the supported operations (for Single; a similar set exists for Double): function SingleToStrBits ( const x: Single ): String; { returns string with bits for sign, biased exponent, and fraction } function SingleToStr

[fpc-pascal] License question; unit to view floating-point details

2008-09-05 Thread Tom Verhoeff
I have a created a unit FloatView to help you inspect in detail 32-bit (Single) and 64-bit (Double) IEEE 754 floating-point values (in case "every bit counts; note that when floating-point numbers are output in decimal, some information is inevitably lost). I would like to contribute this unit, an