History

Remove [SPEC] comment regarding norm2() since the official Inferno OS implementation was updated.

arr committed 9 years ago

Commit 360d51c1 parent 83d4a881 file · +1 −3Browse files

Unified · Split

src/vm/math/Mathmod.cpp+1−3
@@ -694,9 +694,7 @@ Math_norm1(vm_registers_t &r, vm_t &vm) · 693 unmodified lines
694694 void
695695 Math_norm2(vm_registers_t &r, vm_t &vm)
696696 {
697− // [SPEC] This function is defined as: norm2(x) = sqrt(dot(x, x))
698− // The Inferno implementation (libmath/blas.c) doesn't appear to take
699− // the square root of the resulting dot product.
697+ // Defined as: norm2(x) = sqrt(dot(x, x))
700698 auto &fp = r.stack.peek_frame()->base<F_Math_norm2>();
701699
702700 auto xs = vm_alloc_t::from_allocation<vm_array_t>(fp.x);