View Issue Details

IDProjectCategoryView StatusLast Update
0038278FPCDocumentationpublic2020-12-30 01:00
Reporterwp Assigned ToMichael Van Canneyt  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Version3.2.0 
Fixed in Version3.3.1 
Summary0038278: Documentation of Math.EnsureRange
DescriptionThe first line in the official documentation of function EnsureRange of unit Math says:
    "Change value to it falls in specified range".

No idea what this means...

A correct phrase iwould be:
    "Makes sure that a value is inside the specified range (including limits)."
TagsNo tags attached.
Fixed in Revision1789
FPCOldBugId
FPCTarget3.2.2
Attached Files

Activities

wp

2020-12-29 22:44

reporter   ~0127916

Or maybe better, jamie's version in the forum discussion (https://forum.lazarus.freepascal.org/index.php/topic,52702.msg389081.html#msg389081):

"Prevent return value from violating range"

Bart Broersma

2020-12-29 23:14

reporter   ~0127917

to -> so (simple typo?)

wp

2020-12-29 23:48

reporter   ~0127918

Yes. Anything which makes it understandable is fine. Michael will decide.

Michael Van Canneyt

2020-12-30 00:07

administrator   ~0127920

It was a typo. Fixed:
to -> so
fall -> fits

Thanks for reporting !

wp

2020-12-30 01:00

reporter   ~0127923

Thanks

Issue History

Date Modified Username Field Change
2020-12-29 22:41 wp New Issue
2020-12-29 22:41 wp Status new => assigned
2020-12-29 22:41 wp Assigned To => Michael Van Canneyt
2020-12-29 22:44 wp Note Added: 0127916
2020-12-29 23:14 Bart Broersma Note Added: 0127917
2020-12-29 23:48 wp Note Added: 0127918
2020-12-30 00:07 Michael Van Canneyt Status assigned => resolved
2020-12-30 00:07 Michael Van Canneyt Resolution open => fixed
2020-12-30 00:07 Michael Van Canneyt Fixed in Version => 3.3.1
2020-12-30 00:07 Michael Van Canneyt Fixed in Revision => 1789
2020-12-30 00:07 Michael Van Canneyt FPCTarget => 3.2.2
2020-12-30 00:07 Michael Van Canneyt Note Added: 0127920
2020-12-30 01:00 wp Status resolved => closed
2020-12-30 01:00 wp Note Added: 0127923