I found an algorithm and the corresponding implementation (code) on Wikipedia.
Can I use that code in commercial software? Or would this mean that I would introduce a viral license and would have to share my whole code under the Creative Commons Attribution-ShareAlike License?