math

  1. jgpallero

    GCC compiler and y0 variable

    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...
  2. Alain De Vos

    Physics & math porn

  3. J

    Other [challenge] 01 : Subtract without using minus (-)

    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...
  4. S

    Working with Numbers on Commandline

    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...
  5. S

    Julia scientific programming language

    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/...
Back
Top