View Issue Details

IDProjectCategoryView StatusLast Update
0038160FPCRTLpublic2020-12-04 17:24
ReporterThaddy de Koning Assigned ToFlorian  
Status resolvedResolutionwon't fix 
Product Version3.3.1 
Summary0038160: math.sum() has no integer overloads. These are deferred to SumInt instead.
Descriptionmath.sum() has no integer overloads. These are deferred to math.sumInt() instead.
but these can simply be added to sum() overloads, which is more natural.
Additional InformationI can provide a patch is appreciated but it is a very easy fix.
TagsNo tags attached.
Fixed in Revision
Attached Files


Thaddy de Koning

2020-12-02 17:15

reporter   ~0127320

Last edited: 2020-12-02 21:41

View 2 revisions

Ah, I checked Delphi and that also has sumint instead. but the same logic applies: it should be part of sum().
Sloppy Embarcadero again


2020-12-04 17:24

administrator   ~0127345

Using different identifiers makes the code much clearer than having the umpteen overload.

Issue History

Date Modified Username Field Change
2020-12-02 17:00 Thaddy de Koning New Issue
2020-12-02 17:15 Thaddy de Koning Note Added: 0127320
2020-12-02 21:41 Thaddy de Koning Note Edited: 0127320 View Revisions
2020-12-04 17:24 Florian Assigned To => Florian
2020-12-04 17:24 Florian Status new => resolved
2020-12-04 17:24 Florian Resolution open => won't fix
2020-12-04 17:24 Florian FPCTarget => -
2020-12-04 17:24 Florian Note Added: 0127345