output from this simple program:
```c++
#include <iostream>
using namespace std;
int main() {
cout << static_cast<float>(1/2) << endl;
cout << static_cast<float>(1) / static_cast<float>(2) << endl;
cout << static_cast<float>(3/2) << endl;
cout << static_cast<float>(3) / static_cast<float>(2) << endl;
return 0;
}
```
is
```
0
0.5
0
0.5
1
1.5
```
So you do need it
[ Full content available at:
https://github.com/apache/incubator-mxnet/pull/12261 ]
This message was relayed via gitbox.apache.org for [email protected]