Changes between Version 147 and Version 148 of j2p
- Timestamp:
- 10/17/24 09:31:22 (2 weeks ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
j2p
v147 v148 170 170 171 171 === Implicit casting, narrowing 172 Java does automatic casting to silently convert between bytes, int, long etc. These can also involve narrowing, loss of precision etc. There is partial support for these. The translator recognises when such conversion is done and tries to insert extra code to implement the expected narrowing as needed. This is not yet implemented for conversions between double and float, as the translator translates both to python floats.172 Java does automatic casting to silently convert between bytes, int, long etc. These can also involve narrowing, loss of precision etc. There is partial support for these. The translator recognises when such conversion is done and tries to insert extra code to implement the expected narrowing as needed. But the specification has lots of special cases and the implementation is partial. 173 173 174 174 === @NonNull