def set_emulated_double(number):
 double = np.array([number, 0], dtype=np.float32)
 double[1] = (number - double[0])
 return double

def set_emulated_double ( number ) : double = np . array ( [ number , 0 ] , dtype = np . float32 ) double [ 1 ] = ( number - double [ 0 ] ) return double
emulate a double using two numbers of type float32 .