View Issue Details

IDProjectCategoryView StatusLast Update
0031547RunnerWindows (YYC)Public2020-01-13 16:23
ReporterDanAssigned ToRussell Kay 
PriorityMediumSeverityC - GeneralReproducibility100%
Status ResolvedResolutionFixed 
PlatformWindows YYCOSWindows 10OS Version1909
Product Version2.2.5 
Target Version2.3.0Fixed in Version2.3.0 
Summary0031547: Windows YYC: Comparing irandom() whole to a decimal number ignores the fractional part and returns true
DescriptionAs the attached sample shows, in Windows YYC comparing to an irandom() value appears to floor both sides, so all floating point values return true as long as the integer part would be a match. VM does not do this, so there is an inconsistency there also.

Expected: The test only returns 1 "match" - when time is equal to exactly 3.0. (This is what VM does)
Steps To Reproduce1. Run the attached sample for Windows YYC.
2. Observe the counter increments in 0.01 steps.
3. Observe that when it reaches 3.0 it starts returning true until time reaches 4.0, and so ends up with 100 matches.
Repro: 100%
TagsNo tags attached.
1.4 Found In
2.x Runtime Found In2.2.5.378
2.x Runtime Verified In

Activities

Dan

2019-12-20 14:02

Adminstrator  

irandomcomparison.yyz (18,327 bytes)
Screenshot_1.png (3,784 bytes)
Screenshot_1.png (3,784 bytes)

Russell Kay

2020-01-10 16:17

Manager   ~0065266

Fixed in gitlab