Issue Details (XML | Word | Printable)

Key: CORE-2282
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Claudio Valderrama C.
Reporter: Paul Vinkenoog
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Firebird Core

*truncate UDFs broken for numbers below -1

Created: 18/Jan/09 10:34 PM   Updated: 18/Feb/09 03:15 AM
Return to search
Component/s: UDF
Affects Version/s: 1.5.5, 2.0.4, 2.1.1
Fix Version/s: 2.5 Beta 1, 2.1.3, 1.5.6, 2.0.6

Time Tracking:
Not Specified

Planning Status: Unspecified


 Description  « Hide
For numbers below -1, *truncate returns the nearest lower number (e.g. -2.1 -> -3; -45.88 -> -46). This is 'floor' rather than 'truncate'.

On <-1, 0], truncate returns 0.
Only -1 truncates to -1.
(The last two results are correct; just given here for completeness.)


 All   Comments   Work Log   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
The cvs commits can not be displayed for repository Firebird at the moment since the log has not yet been parsed. The log will be parsed the next time the VcsService runs. If you have administrators privileges you can hasten the next time the service will run in the service section of the Administration pages.