[Doc] About primitive type promotion: is the arrow from int to f32 valid? #9427
pierre-rouleau
started this conversation in
General
Replies: 1 comment 1 reply
-
The subject is still a little undecided in certain areas - but I've added a PR that at least fixes the contradicting doc statement. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there! V looks very interesting!
Question:
In the Types - Primitive types section, the graph shows an oblique arrow from
int
tof32
. Yet just below, the text states that anint
cannot be automatically promoted tof32
nor tou32
. What are the oblique arrow representing then? Is it an error in the document or an omission of another supported concept not yet described such as casting?I assume the latter is true. Is this correct?
Let me know if this was already discussed, I looked and did not find it.
Beta Was this translation helpful? Give feedback.
All reactions