who can tell me the "word" function defined in which library file?

Hi, everyone:

I what know the "word" function defined in which library file, I couldn't find it a long time, I need to find it, and then copy it to another place, who can help me.
this function: word() - Arduino Reference

when I was browsing the language reference http://arduino.cc/en/Reference/HomePage, reference didn't tell me where these function definitions, is there any information can let me know it? this will help me to study better.

many thanks.

If you can explain why you need to copy the function it may be possible that you do not need to do it ?

I need to migrate the arduino code to another platform, then the compiler prompt: 'word' was not declared in this scope,
so i want to find this function and add it.

A word stores a 16-bit unsigned number, from 0 to 65535. Same as an unsigned int.

If you want to know where a particular definition or declaration is implemented, do a text search under the Arduino installation directory. In this case, word() is defined as a macro substitution for makeWord(), which is implemented in WMath.

I can't think of a good reason to create a copy of that. What are you trying to achieve?

Thank you very much, I am a novice, so the question may be strange:)

I can't think of a good reason to create a copy of that. What are you trying to achieve?

OP:

I need to migrate the arduino code to another platform