#NEWLINE# def set_floatx( floatx ) : #NEWLINE# #INDENT# global _FLOATX #NEWLINE# if ( floatx not in { 'float16' , 'float32' , 'float64' } ) : #NEWLINE# #INDENT# raise Exception ( ( 'Unknown floatx type: ' + str ( floatx ) ) ) #NEWLINE# #UNINDENT# floatx = str ( floatx ) #NEWLINE# _FLOATX = floatx