S
Shawn B.
Greetings,
I know I can create class that "implicit"ly accepts an 8-bit to 64-bit
value. Without using double, or single, I would like to create my own
"unsigned" 128-bit valuetype (to be used with my Binary objects I recently
created http://www.visualassembler.com/binary) but I don't know how I can do
so. How can I make it accept the number 2309823982039203948203948? I don't
want to have to pass the numbers as a string, I just want to assign it a
number and expect that it'll work.
I know I can use 64-bit because I just implicit with a ulong as a parameter
type, but I don't know how to go about creating my own 128-bit type...
Any ideas?
Thanks,
Shawn
I know I can create class that "implicit"ly accepts an 8-bit to 64-bit
value. Without using double, or single, I would like to create my own
"unsigned" 128-bit valuetype (to be used with my Binary objects I recently
created http://www.visualassembler.com/binary) but I don't know how I can do
so. How can I make it accept the number 2309823982039203948203948? I don't
want to have to pass the numbers as a string, I just want to assign it a
number and expect that it'll work.
I know I can use 64-bit because I just implicit with a ulong as a parameter
type, but I don't know how to go about creating my own 128-bit type...
Any ideas?
Thanks,
Shawn