04-25-2025, 04:46 AM
This is an interesting thing. I'll look into it when I'm at my computer in a few hours, but I'm interested in a simple option: Can the data type be determined using Mem.Element or Mem.Type? If so, can I read the decisive bit of the data type to distinguish Signed or Unsigned? If so, all I need to do is add the negative value/2 of the maximum value of the data type to the positive output Val if it's a sign data type. Is this solvable in this way? Basically, I'm asking if it's possible to distinguish data types using Mem, similar to how data types are determined when processing sound with the MemSound function. I'm interested in this for speed, so I want to avoid converting to a string and back.

