Hi Ingemar
0.0 and -0.0 is the same number ;) it's just a quirk of the IEEE
floating point format, that there exists a positiv and negative zero
(because they use a sign bit).
-Ivo
Am 29.12.2010 12:17, schrieb Ingemar Ragnemalm:
faber wrote:
Hi,
according to docs/reference sin function s
thors
are from Europe and english is not their first language...
-Ivo Steinmann (Swiss, just to mention that english isn't my first
language either)
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Wimpie Nortje schrieb:
Jonas Maebe wrote:
On 21 Nov 2009, at 20:16, Wimpie Nortje wrote:
Is there any way to use a C library that use the __fastcall calling convention?
Not at this time. Also note that that the fastcall convention is not
standardised and varies between different C
Michael Van Canneyt schrieb:
> On Sun, 25 Jan 2009, Vincent Snijders wrote:
>
>
>> Michael Van Canneyt schreef:
>>
>>> On Sun, 25 Jan 2009, Vincent Snijders wrote:
>>>
>>>
Jonas Maebe schreef:
> On 25 Jan 2009, at 11:43, Chris Kirkpatrick wrote:
>
>
you can try
var
YourArray, Row: PFloat;
Width: Integer;
Height: Integer;
// alloc array
GetMem(YourArray, Width*Height*Sizeof(Float));
// access point (X, Y), while X in [0,Width-1] and Y in [Y, Height-1]
YourArray[X + Y*Width] := ...
// access row (Y)
Row := @YourArray[Y*Width];
Row[X] :=