You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current return value is not the actual value but a calculated value that leads to rollover causing negative time values. Examination of the various platforms and backends show inconsistent handling. I can show each example here but not sure if that is needed.
This needs a discussion because fixing to return the actual value has ramifications for whole lot of V I think. I have a working solution but have not tested the ecosystem of V.
Additional Information/Context
No response
V version
V 0.5.0 b9e9192
Environment details (OS name and version, etc.)
|V full version |V 0.5.0 b9e9192b2b229c82b097911e2f64ea420a1c6c68
|:-------------------|:-------------------
|OS |windows, Microsoft Windows 11 Pro 26200 64-bit
|Processor |24 cpus, 64bit, little endian, AMD Ryzen 9 5900X 12-Core Processor
|Memory |72.83GB/127.92GB
| |
|V executable |S:\repo\vlang2\v.exe
|V last modified time|2026-01-05 04:56:05
| |
|V home dir |OK, value: S:\repo\vlang2
|VMODULES |OK, value: C:\Users\john3\.vmodules
|VTMP |OK, value: S:\temp\v_0
|Current working dir |OK, value: S:\vProjects\testit
| |
|env VFLAGS |"-g"
|Git version |git version 2.52.0.windows.1
|V git status |0.5-23-gb9e9192b-dirty
|.git/config present |true
| |
|cc version |N/A
|gcc version |gcc (MinGW-W64 x86_64-ucrt-posix-seh, built by Brecht Sanders, r8) 13.2.0
|clang version |N/A
|msvc version |N/A
|tcc version |tcc version 0.9.27 (x86_64 Windows)
|tcc git status |thirdparty-windows-amd64 b425ac82
|emcc version |N/A
|glibc version |N/A
Note
You can use the 👍 reaction to increase the issue's priority for developers.
Please note that only the 👍 reaction to the issue itself counts as a vote.
Other reactions and those to comments will not be taken into account.
Describe the bug
Current return value is not the actual value but a calculated value that leads to rollover causing negative time values. Examination of the various platforms and backends show inconsistent handling. I can show each example here but not sure if that is needed.
Reproduction Steps
Expected Behavior
No rollover of
sys_mono_nowvalues causing negative elapsed valuesCurrent Behavior
The last one generated negative elapsed time
Possible Solution
This needs a discussion because fixing to return the actual value has ramifications for whole lot of V I think. I have a working solution but have not tested the ecosystem of V.
Additional Information/Context
No response
V version
V 0.5.0 b9e9192
Environment details (OS name and version, etc.)
Note
You can use the 👍 reaction to increase the issue's priority for developers.
Please note that only the 👍 reaction to the issue itself counts as a vote.
Other reactions and those to comments will not be taken into account.