...hyper reflects a 64-bit value. Calc internally uses
IEEE754 double and you can't map 64 bit into a double...
Of course, it's obvious... ;)
Max. long in Java is:
9223372036854775807
but after pasting it into Calc we have:
922337203685478
Finally I have released this
Hi,
On Friday, 2011-10-21 18:37:34 +0200, Stephan Bergmann wrote:
As I wrote at
https://bugs.freedesktop.org/show_bug.cgi?id=42005#c1, Calc
add-ins do not support functions that take or return UNO type hyper.
So I think that explains why an add-in using hyper in the .idl file
does not
Hi MarcinGutman,
On Saturday, 2011-10-22 00:42:32 +0200, MarcinGutman wrote:
Calc add-ins do not support functions that take or
return UNO type hyper.
.. however, it should work if the .idl file instead
uses unsigned hyper ...
You omitted some words that slightly change the meaning of
On 10/24/2011 08:46 PM, Eike Rathke wrote:
Why, however, it should work if the .idl file instead uses unsigned
hyper I do not know.
Wild guess: may it be that the .idl parser takes 'unsigned' of 'unsigned
hyper' and ignores the 'hyper', effectively mapping that to an unsigned
32-bit value and
... .idl parser takes 'unsigned' of 'unsigned hyper'
and ignores the 'hyper'
I tried with unsigned asdf and obtained an error:
Illegal syntax or missing type in parameter declaration: syntax
error, unexpected IDL_IDENTIFIER, expecting IDL_HYPER or IDL_LONG
or IDL_SHORT
in
...
Hello,
Please, could somebody check this...
https://bugs.freedesktop.org/show_bug.cgi?id=42005
Best Regards,
Marcin Gutman
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice
Marcin, hope you don't mind I bring this back to the public mailing
list. I'm no expert with Calc add-ins, so we should make sure I'm not
telling nonsense:
On 10/21/2011 05:42 PM, MarcinGutman wrote:
Sorry, not sure what you want to tell me with the above.
If you create Java Calc Add-In
Calc add-ins do not support functions that take or
return UNO type hyper.
.. however, it should work if the .idl file instead
uses unsigned hyper ...
This is why I started this topic.
Moreover, NetBeans Wizard for Calc add-ins shows Java int and this is
mapped correctly as long in IDL. But