Custom Query (3933 matches)
Results (190 - 192 of 3933)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #3820 | Works For Me | ProgressOn() - move feature | ||
| Description |
Please add feature which give enduser the ability to move the progress window. |
|||
| #3819 | Fixed | _FileCountLines help file precision to add | ||
| Description |
_FileCountLines should say in help file that it allows File handle AND Path and filename. It seems that the code was changed "recently" to use FileReadToArray. |
|||
| #3817 | Fixed | Double to Int64 type conversion - wrong results | ||
| Description |
Following script: $fN = 562949953421312.0
$iN = Int($fN, 2)
$iN2 = Number($iN, 2)
ConsoleWrite("$fN :" & $fN & " (" & VarGetType($fN) & ")" & @CRLF & _
"$iN :" & $iN & " (" & VarGetType($iN) & ")" & @CRLF & _
"$iN2:" & $iN2 & " (" & VarGetType($iN2) & ")" & @CRLF)
produces:
This applies to all integer numbers >= 249 stored as double. The numbers themselves can be mapped completely and without rounding errors in IEEE 754 double precision.
The naive approach to implementing an #include <iostream>
using namespace std;
int main()
{
double f = 562949953421312.0;
long long iInt1 = (long long)f;
long long iInt2 = static_cast<long long>(f);
cout<<iInt1<<"\n"<<iInt2;
}
In old public source codes of AutoIt also the C-cast was used for the |
|||
