Replies: 1 comment 2 replies
-
Are you asking a question about f#? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
For example
The point of explicit layout is you can change the memory by changing width / height, or the opposite way by using System.Numerics.Vector2 methods to change the memory
However I noticed that, while it's already hard to create a record with only memory is set
If I were to do :
Where
AnotherMemory
is not zero and so is value, the result is zero for some reasonBut if I were to do
It gives me a feeling that either I can't have record struct with explicit layout in F# like I can in C#, or there is a bug with it
Beta Was this translation helpful? Give feedback.
All reactions