I'm relatively new to Mathematica and have been struggling with this problem for several days.
I have a string of integer data, ranging from -2044 to 2044. So this looks something like {-2044,-2040,-2032......2037,2040,2044} (there is no pattern in the data).
However, now I need to export this string of data to a text file in Signed binary representation.
There is a convenient way to convert positive base ten integers into binary with BaseForm, but I cannot find a way to convert negative base ten integers into Signed binary.
If anyone has any tips on how to do that, I'd appreciate the help! Thanks.
BaseForm[-2044, 2]
? $\endgroup$