[ARM] 3471/1: FTOSI functions should return 0 for NaN
authorCatalin Marinas <catalin.marinas@arm.com>
Mon, 10 Apr 2006 20:32:39 +0000 (21:32 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 10 Apr 2006 20:32:39 +0000 (21:32 +0100)
commit1320a80d1d2587545f39bc0d2dc3adaf390250ef
tree95a2af8dca357efe40a70258b70fa1227098098b
parentadeff42236aec0601ec979d1a41cd6d9cf5a8c05
[ARM] 3471/1: FTOSI functions should return 0 for NaN

Patch from Catalin Marinas

The NaN case was dealed with by the "exponent >= ... + 32" condition but it
was not setting the value "d" to 0.

Signed-off-by: Ken'ichi Kuromusha <musha@aplix.co.jp>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/vfp/vfpdouble.c
arch/arm/vfp/vfpsingle.c