Prevent to divide by zero and range out of 0..1

Teodor Sigaev <teodor@sigaev.ru>

Commit: babd4714f66d8b90c4c7a7d8c33c21d2001685c9
Author: Teodor Sigaev <teodor@sigaev.ru>
Date: 2005-06-01T11:45:42Z
Releases: 8.0.4
Prevent to divide by zero and range out of 0..1

Files

PathChange+/−
contrib/tsearch2/rank.c modified +7 −4