** Changed in: zorba
   Importance: Undecided => Medium

You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.

  Too small time types

Status in Zorba - The XQuery Processor:

Bug description:
  In include/zorba/util/time.h the get_walltime_in_millis() function
  returns a long.

  In Windows, long has the range: –2,147,483,648 to 2,147,483,647

  Now the computation get_walltime_in_millis() goes much beyond this
  range because time is computed since 01.01.1970, that makes it already
  more than 1,300,000,000 seconds. This is multiplied by 1000 and
  therefore jump over the range of 4-byte numbers.

  Hence, all the functions that compute time must be working with double
  precision numbers like "long long".

To manage notifications about this bug go to:

Mailing list: https://launchpad.net/~zorba-coders
Post to     : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp

Reply via email to