black_scholes_test, a C code which calls black_scholes(), which demonstrates several approaches to the valuation of a European call.
The information on this web page is distributed under the MIT license.
black_scholes, a C code which implements some simple approaches to the Black-Scholes option valuation theory, by Desmond Higham.