free_mutant/lib/mutant/mutator/node/literal
Markus Schirp ec55f85804 Do not emit mutations if signed zero float/double
There are two representations of zero in IEEE 754. The negative and the
positive zero. This commutis removes a mutation that causes the sign to be flipped.

These mutations are very uneasy to kill. Currently only these side
effects are known:

1 / -0.0 => -Infinity
1 / 0.0 => Infinity
0.0.to_s => "0.0"
-0.0.to_s => "-0.0"

I'm happy to readd the mutation - when someone adds more wisdom to
this case ;)

Closes #126
2013-12-01 20:34:19 +01:00
..
array.rb Add magic encoding header to all ruby files 2013-07-28 16:03:06 -07:00
boolean.rb Use 1.9 style hash syntax where possible 2013-09-07 20:27:06 +02:00
dynamic.rb Add magic encoding header to all ruby files 2013-07-28 16:03:06 -07:00
fixnum.rb Add magic encoding header to all ruby files 2013-07-28 16:03:06 -07:00
float.rb Do not emit mutations if signed zero float/double 2013-12-01 20:34:19 +01:00
hash.rb Add magic encoding header to all ruby files 2013-07-28 16:03:06 -07:00
nil.rb Add magic encoding header to all ruby files 2013-07-28 16:03:06 -07:00
range.rb Remove include of AbstractType in non abstract class 2013-10-31 17:39:11 +01:00
regex.rb Add magic encoding header to all ruby files 2013-07-28 16:03:06 -07:00
string.rb Add magic encoding header to all ruby files 2013-07-28 16:03:06 -07:00
symbol.rb Add magic encoding header to all ruby files 2013-07-28 16:03:06 -07:00