primitifs case long and double