Yes, it's ok. While i was going through the code, I ran a quick test in gdb that made me think it would produce the wrong result but my test didn't account for the fact that when the short gets promoted to a int, the sign flag will be moved to the correct place automatically.
On Aug 28, 2010, at 12:58 AM, Thomas Mueller wrote: > Hi, > > There is no Short.signum. > > Regards, > Thomas > > -- > You received this message because you are subscribed to the Google Groups "H2 > Database" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/h2-database?hl=en. > -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/h2-database?hl=en.
