This file is indexed.

/usr/share/doc/ruby-gsl/examples/poly/quadratic.rb is in ruby-gsl 2.1.0.3+dfsg1-1build1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/usr/bin/env ruby
require('gsl')

puts("Solve 2 - 3*x + x*x = 0")

p GSL::Poly.solve_quadratic([1, -3, 2])
p GSL::Poly.solve_quadratic(1, -3, 2)
z = GSL::Poly.complex_solve_quadratic(1, -3, 2)
printf("%f %f\n", z[0].re, z[0].im)
printf("%f %f\n", z[1].re, z[1].im)
#p GSL::Poly.complex_solve_quadratic([1, -3, 2])
#z = GSL::Poly.solve([2, -3, 1])

poly = GSL::Poly.alloc(2, -3, 1)
z = poly.solve
printf("%f %f\n", z[0].re, z[0].im)
printf("%f %f\n", z[1].re, z[1].im)

z = GSL::Poly.solve([2, -3, 1])
printf("%f %f\n", z[0].re, z[0].im)
printf("%f %f\n", z[1].re, z[1].im)



__END__