The MASM Forum

Miscellaneous => The Orphanage => Topic started by: xanatose on February 27, 2014, 02:46:06 PM

Title: Where can I find a site for math expressions?
Post by: xanatose on February 27, 2014, 02:46:06 PM
I need it as a reference.  (both to read formulas and to express formulas).

For a trivial example: How do you that write that you only want the integer part of x/y?

int c that would be (int)(x/y). But I do not know how to write it when writing a math equation.
Title: Re: Where can I find a site for math expressions?
Post by: TouEnMasm on February 27, 2014, 06:21:17 PM

If you have a c code ,you have also the asm code.
Add /FA in the command line of the c++ compiler and you get an asm file.
Title: Re: Where can I find a site for math expressions?
Post by: MichaelW on February 27, 2014, 07:51:58 PM
For your example it depends on what you mean by "integer part".

http://mathworld.wolfram.com/FloorFunction.html

There is an incomplete listing here:

http://en.wikipedia.org/wiki/Table_of_mathematical_symbols


Title: Re: Where can I find a site for math expressions?
Post by: xanatose on March 09, 2014, 06:08:31 PM
Thanks everyone.

@MichaelW Thanks for the link.
Is interesting to know there are different symbols for floor, ceil and round.

(int)(x/y) is the same as floor(x/y) except no function call.


A pity that the table only shows the result of the html and latex symbols. But not the way to write it neither on HTML nor on latex. Neither does it show the Unicode symbol.
Title: Re: Where can I find a site for math expressions?
Post by: Gunther on March 09, 2014, 09:58:04 PM
Hi xanatose,

Quote from: xanatose on March 09, 2014, 06:08:31 PM
A pity that the table only shows the result of the html and latex symbols. But not the way to write it neither on HTML nor on latex. Neither does it show the Unicode symbol.

which symbols would you like to write it with Latex?

Gunther
Title: Re: Where can I find a site for math expressions?
Post by: Tedd on March 11, 2014, 03:49:37 AM
They're represented in HTML simply as Unicode characters.

For a list of Unicode characters, see the "Mathematical Symbols" section: http://www.unicode.org/charts/#symbols (http://www.unicode.org/charts/#symbols) (specifically, Mathematical Operators:Floors and Ceilings).

For LaTeX, this covers everything you'll probably need: http://en.wikibooks.org/wiki/LaTeX/Mathematics (http://en.wikibooks.org/wiki/LaTeX/Mathematics)
Title: Re: Where can I find a site for math expressions?
Post by: Gunther on March 12, 2014, 12:09:09 AM
Hi Tedd,

Quote from: Tedd on March 11, 2014, 03:49:37 AM
For LaTeX, this covers everything you'll probably need: http://en.wikibooks.org/wiki/LaTeX/Mathematics (http://en.wikibooks.org/wiki/LaTeX/Mathematics)

the list gives a good overview, but isn't complete. Thank you.

Gunther
Title: Re: Where can I find a site for math expressions?
Post by: Tedd on March 12, 2014, 05:19:18 AM
Quote from: Gunther on March 12, 2014, 12:09:09 AM
the list gives a good overview, but isn't complete. Thank you.

1. I didn't say it was complete, but "covers everything you'll probably need" -- specifically, for xanatose.
2. There's more.. http://en.wikibooks.org/wiki/LaTeX/Advanced_Mathematics (http://en.wikibooks.org/wiki/LaTeX/Advanced_Mathematics)
3. There will never be a complete list. There are far more additional packages than any single reference can document, and there's always the possibility of creating more symbols and notations for yet another newly invented obscure branch of mathematics.
Title: Re: Where can I find a site for math expressions?
Post by: TouEnMasm on March 13, 2014, 05:20:17 PM
A Soluce is never complete.
Searching for c++ libraries,I found this
http://www.thefreecountry.com/sourcecode/cpp.shtml (http://www.thefreecountry.com/sourcecode/cpp.shtml)
http://www.thefreecountry.com/sourcecode/mathematics.shtml (http://www.thefreecountry.com/sourcecode/mathematics.shtml)