# Search results for "Make GMP number work like PHP number"

7 results, page 1 of 1. Each result is an email: results with the same thread number are in the same thread. The link opens the thread as Markdown, find the email in it by its number.

More for agents: search with https://externals.io/search.md?q={query} · RFCs at https://externals.io/rfc.md · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

1. [GMP object and is_scalar()](https://externals.io/message/70930.md) — email #70930 in thread #70904, by Yasuo Ohgaki on 2013-12-30
   > … discuss, since **GMP** **number**s will be **work** **like** **number**s from **PHP** 5.6. Most users will expect **number**s are evaluated **like** other **number**s(int/float), I suppose. It may be hard to distinguish normal **number**s(int/float) and **GMP** **number**s …
2. [[RFC] Floating Point support in GMP extension](https://externals.io/message/71005.md) — email #71005 in thread #70998, by Stas Malyshev on 2014-01-05
   > … not sure how exactly "all other **gmp**_*() functions" are supposed to **work** on floats - for many of them it just **make** no sense (such as factorial or q/r division or modulo), for others **like** bit functions it technically could …
3. [JSON float number as string](https://externals.io/message/85773.md) — email #85773 in thread #85531, by Yasuo Ohgaki on 2015-04-10
   > … spec should **work** (e.g. if you mean something **like** http://json-schema.org/examples.html ) Yes. We need something **like** this to **make** jason_encode() **work** as it should. FR is added. https://bugs.**php**.net/bug.**php**?id …
4. [Invokation on __toString() for object used as array key](https://externals.io/message/77657.md) — email #77657 in thread #77510, by Lester Caine on 2014-09-26
   > … you may want two **GMP** **number**s with value of "1" actually refer to the same key in the hash, just **like** two **number**s 1 do. This is actually the one I'm trying to **work** around ... The key is well …
5. [More powerful (and backward compatible) API of random number generator functions](https://externals.io/message/68777.md) — email #68777 in thread #68651, by Marc Bennewitz on 2013-08-31
   > … be the case on all systems also without openssl dev/urandom ... (I don't know if FIPS 1402 Annex C **works** on all systems). For other modules **like** openssl/**gmp** it should be possible to add there own algorithm that …
6. [[RFC] Operator Overrides -- Lite Edition](https://externals.io/message/124086.md) — email #124086 in thread #123991, by Rob Landers on 2024-06-30
   > … for concatenation. This kinda **works**, but if you pass it to something that takes a string, you get the underlying **number** and not the string you were trying to store. This is because **GMP** takes over casting forcing you to …
7. [Overriding GMP objects](https://externals.io/message/123968.md) — email #123968 in thread #123872, by Jordan LeDoux on 2024-06-27
   > … those that don't know, **GMP** implements operator overloading such that a **GMP** **number** times an int results in a new **GMP** **number**. Surprisingly, I can get this to **work**, but I end up with a **GMP** **number** -- with the
