Technology companies evaluating a sale or an IPO must carefully consider the finer details of all possible options.