how do you set specific bits for double?
For int, I would do something like this:
public static int Value { get { return 0xfff8; } }
What to do for a double?
public static double Value { get { return 0xfff8; } }
I'm a little worried that I can get an implicit conversion from an int 0xfff8 representation to a double floating point representation. However, I really want this 0xfff8 template to be type-independent.
source share