Casting

Any casting operation from a higher-bit accuracy to a lower-bit accuracy can result in data loss of the upper bits that have been removed.

It is always advisable to perform these type casts safely, ensuring that the data being cast will fit to the expected type under all circumstances.

Last updated