view run/float_litaeral_dec_03.d @ 35:9ac5baf9ac69

added float literal decimal tests
author thomask
date Wed, 13 Oct 2004 07:19:54 +0000
parents
children e38919011244
line wrap: on
line source

int main(){
	float a = 1_2_._3__________f;
	float b = 123.0f / 10.0f;
	assert(a==b);
	return 0;
}