diff --git a/lib/libc/amd64/gen/infinity.c b/lib/libc/amd64/gen/infinity.c new file mode 100644 index 000000000000..ae2058064fdb --- /dev/null +++ b/lib/libc/amd64/gen/infinity.c @@ -0,0 +1,6 @@ +/* infinity.c */ + +#include + +/* bytes for +Infinity on a 387 */ +char __infinity[] = { 0, 0, 0, 0, 0, 0, 0xf0, 0x7f }; diff --git a/lib/libc/i386/gen/infinity.c b/lib/libc/i386/gen/infinity.c new file mode 100644 index 000000000000..ae2058064fdb --- /dev/null +++ b/lib/libc/i386/gen/infinity.c @@ -0,0 +1,6 @@ +/* infinity.c */ + +#include + +/* bytes for +Infinity on a 387 */ +char __infinity[] = { 0, 0, 0, 0, 0, 0, 0xf0, 0x7f };