FreeBSD 15.0 comes with GCC 14.2 compiler. This code,
#include<stdio.h>
#include<math.h>
double y0;
int main()
{
printf("%lf\n",y0);
return 0;
}
produces an error at compilation time as the variable y0 is declared as global, and y0 is the name of a function (one of the Bessel's...
Subtract two numbers without using the subtract function (aka: minus, -).
***
General 'code challenge' Rules (subject to change):
1. No external links.
2. Give Credit (e.g. "My submission, using Ricky's method.")
3. No attachments.
4. Open to all languages (languages supported in base...
Basic Calculator
bc is Basic Calculator, which is also a language. This is the BSD version, as there's also a GPL version.
For interactive use, run bc without arguments. Enter your basic math problems and it will output an answer. Type quit to exit. Example:
8*13*24/2
1248
quit
It can be used...
Julia is a scientific programming language modeled after a few other languages that draws their advantages together for simplicity. It uses LLVM, and it has an MIT license.
http://julialang.org/
http://www.wired.com/2014/02/julia/...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.