free_mutant/spec/unit/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
..
boolean Add magic encoding header to all ruby files 2013-07-28 16:03:06 -07:00
array_spec.rb Add magic encoding header to all ruby files 2013-07-28 16:03:06 -07:00
fixnum_spec.rb Use 1.9 hash syntax also for specs 2013-09-08 22:12:23 +02:00
float_spec.rb Do not emit mutations if signed zero float/double 2013-12-01 20:34:19 +01:00
hash_spec.rb Add magic encoding header to all ruby files 2013-07-28 16:03:06 -07:00
nil_spec.rb Add magic encoding header to all ruby files 2013-07-28 16:03:06 -07:00
range_spec.rb Use 1.9 hash syntax also for specs 2013-09-08 22:12:23 +02:00
regex_spec.rb Change emit_nil to not emit on the left node of an assignment 2013-09-07 23:57:47 -07:00
string_spec.rb Use 1.9 hash syntax also for specs 2013-09-08 22:12:23 +02:00
symbol_spec.rb Use 1.9 hash syntax also for specs 2013-09-08 22:12:23 +02:00