double powm10(int n) {
  static double e[] = {
      1e+308, 1e+307, 1e+306, 1e+305, 1e+304, 1e+303, 1e+302, 1e+301, 1e+300,
      1e+299, 1e+298, 1e+297, 1e+296, 1e+295, 1e+294, 1e+293, 1e+292, 1e+291,
      1e+290, 1e+289, 1e+288, 1e+287, 1e+286, 1e+285, 1e+284, 1e+283, 1e+282,
      1e+281, 1e+280, 1e+279, 1e+278, 1e+277, 1e+276, 1e+275, 1e+274, 1e+273,
      1e+272, 1e+271, 1e+270, 1e+269, 1e+268, 1e+267, 1e+266, 1e+265, 1e+264,
      1e+263, 1e+262, 1e+261, 1e+260, 1e+259, 1e+258, 1e+257, 1e+256, 1e+255,
      1e+254, 1e+253, 1e+252, 1e+251, 1e+250, 1e+249, 1e+248, 1e+247, 1e+246,
      1e+245, 1e+244, 1e+243, 1e+242, 1e+241, 1e+240, 1e+239, 1e+238, 1e+237,
      1e+236, 1e+235, 1e+234, 1e+233, 1e+232, 1e+231, 1e+230, 1e+229, 1e+228,
      1e+227, 1e+226, 1e+225, 1e+224, 1e+223, 1e+222, 1e+221, 1e+220, 1e+219,
      1e+218, 1e+217, 1e+216, 1e+215, 1e+214, 1e+213, 1e+212, 1e+211, 1e+210,
      1e+209, 1e+208, 1e+207, 1e+206, 1e+205, 1e+204, 1e+203, 1e+202, 1e+201,
      1e+200, 1e+199, 1e+198, 1e+197, 1e+196, 1e+195, 1e+194, 1e+193, 1e+192,
      1e+191, 1e+190, 1e+189, 1e+188, 1e+187, 1e+186, 1e+185, 1e+184, 1e+183,
      1e+182, 1e+181, 1e+180, 1e+179, 1e+178, 1e+177, 1e+176, 1e+175, 1e+174,
      1e+173, 1e+172, 1e+171, 1e+170, 1e+169, 1e+168, 1e+167, 1e+166, 1e+165,
      1e+164, 1e+163, 1e+162, 1e+161, 1e+160, 1e+159, 1e+158, 1e+157, 1e+156,
      1e+155, 1e+154, 1e+153, 1e+152, 1e+151, 1e+150, 1e+149, 1e+148, 1e+147,
      1e+146, 1e+145, 1e+144, 1e+143, 1e+142, 1e+141, 1e+140, 1e+139, 1e+138,
      1e+137, 1e+136, 1e+135, 1e+134, 1e+133, 1e+132, 1e+131, 1e+130, 1e+129,
      1e+128, 1e+127, 1e+126, 1e+125, 1e+124, 1e+123, 1e+122, 1e+121, 1e+120,
      1e+119, 1e+118, 1e+117, 1e+116, 1e+115, 1e+114, 1e+113, 1e+112, 1e+111,
      1e+110, 1e+109, 1e+108, 1e+107, 1e+106, 1e+105, 1e+104, 1e+103, 1e+102,
      1e+101, 1e+100, 1e+099, 1e+098, 1e+097, 1e+096, 1e+095, 1e+094, 1e+093,
      1e+092, 1e+091, 1e+090, 1e+089, 1e+088, 1e+087, 1e+086, 1e+085, 1e+084,
      1e+083, 1e+082, 1e+081, 1e+080, 1e+079, 1e+078, 1e+077, 1e+076, 1e+075,
      1e+074, 1e+073, 1e+072, 1e+071, 1e+070, 1e+069, 1e+068, 1e+067, 1e+066,
      1e+065, 1e+064, 1e+063, 1e+062, 1e+061, 1e+060, 1e+059, 1e+058, 1e+057,
      1e+056, 1e+055, 1e+054, 1e+053, 1e+052, 1e+051, 1e+050, 1e+049, 1e+048,
      1e+047, 1e+046, 1e+045, 1e+044, 1e+043, 1e+042, 1e+041, 1e+040, 1e+039,
      1e+038, 1e+037, 1e+036, 1e+035, 1e+034, 1e+033, 1e+032, 1e+031, 1e+030,
      1e+029, 1e+028, 1e+027, 1e+026, 1e+025, 1e+024, 1e+023, 1e+022, 1e+021,
      1e+020, 1e+019, 1e+018, 1e+017, 1e+016, 1e+015, 1e+014, 1e+013, 1e+012,
      1e+011, 1e+010, 1e+009, 1e+008, 1e+007, 1e+006, 1e+005, 1e+004, 1e+003,
      1e+002, 1e+001, 1.0000, 1e-001, 1e-002, 1e-003, 1e-004, 1e-005, 1e-006,
      1e-007, 1e-008, 1e-009, 1e-010, 1e-011, 1e-012, 1e-013, 1e-014, 1e-015,
      1e-016, 1e-017, 1e-018, 1e-019, 1e-020, 1e-021, 1e-022, 1e-023, 1e-024,
      1e-025, 1e-026, 1e-027, 1e-028, 1e-029, 1e-030, 1e-031, 1e-032, 1e-033,
      1e-034, 1e-035, 1e-036, 1e-037, 1e-038, 1e-039, 1e-040, 1e-041, 1e-042,
      1e-043, 1e-044, 1e-045, 1e-046, 1e-047, 1e-048, 1e-049, 1e-050, 1e-051,
      1e-052, 1e-053, 1e-054, 1e-055, 1e-056, 1e-057, 1e-058, 1e-059, 1e-060,
      1e-061, 1e-062, 1e-063, 1e-064, 1e-065, 1e-066, 1e-067, 1e-068, 1e-069,
      1e-070, 1e-071, 1e-072, 1e-073, 1e-074, 1e-075, 1e-076, 1e-077, 1e-078,
      1e-079, 1e-080, 1e-081, 1e-082, 1e-083, 1e-084, 1e-085, 1e-086, 1e-087,
      1e-088, 1e-089, 1e-090, 1e-091, 1e-092, 1e-093, 1e-094, 1e-095, 1e-096,
      1e-097, 1e-098, 1e-099, 1e-100, 1e-101, 1e-102, 1e-103, 1e-104, 1e-105,
      1e-106, 1e-107, 1e-108, 1e-109, 1e-110, 1e-111, 1e-112, 1e-113, 1e-114,
      1e-115, 1e-116, 1e-117, 1e-118, 1e-119, 1e-120, 1e-121, 1e-122, 1e-123,
      1e-124, 1e-125, 1e-126, 1e-127, 1e-128, 1e-129, 1e-130, 1e-131, 1e-132,
      1e-133, 1e-134, 1e-135, 1e-136, 1e-137, 1e-138, 1e-139, 1e-140, 1e-141,
      1e-142, 1e-143, 1e-144, 1e-145, 1e-146, 1e-147, 1e-148, 1e-149, 1e-150,
      1e-151, 1e-152, 1e-153, 1e-154, 1e-155, 1e-156, 1e-157, 1e-158, 1e-159,
      1e-160, 1e-161, 1e-162, 1e-163, 1e-164, 1e-165, 1e-166, 1e-167, 1e-168,
      1e-169, 1e-170, 1e-171, 1e-172, 1e-173, 1e-174, 1e-175, 1e-176, 1e-177,
      1e-178, 1e-179, 1e-180, 1e-181, 1e-182, 1e-183, 1e-184, 1e-185, 1e-186,
      1e-187, 1e-188, 1e-189, 1e-190, 1e-191, 1e-192, 1e-193, 1e-194, 1e-195,
      1e-196, 1e-197, 1e-198, 1e-199, 1e-200, 1e-201, 1e-202, 1e-203, 1e-204,
      1e-205, 1e-206, 1e-207, 1e-208, 1e-209, 1e-210, 1e-211, 1e-212, 1e-213,
      1e-214, 1e-215, 1e-216, 1e-217, 1e-218, 1e-219, 1e-220, 1e-221, 1e-222,
      1e-223, 1e-224, 1e-225, 1e-226, 1e-227, 1e-228, 1e-229, 1e-230, 1e-231,
      1e-232, 1e-233, 1e-234, 1e-235, 1e-236, 1e-237, 1e-238, 1e-239, 1e-240,
      1e-241, 1e-242, 1e-243, 1e-244, 1e-245, 1e-246, 1e-247, 1e-248, 1e-249,
      1e-250, 1e-251, 1e-252, 1e-253, 1e-254, 1e-255, 1e-256, 1e-257, 1e-258,
      1e-259, 1e-260, 1e-261, 1e-262, 1e-263, 1e-264, 1e-265, 1e-266, 1e-267,
      1e-268, 1e-269, 1e-270, 1e-271, 1e-272, 1e-273, 1e-274, 1e-275, 1e-276,
      1e-277, 1e-278, 1e-279, 1e-280, 1e-281, 1e-282, 1e-283, 1e-284, 1e-285,
      1e-286, 1e-287, 1e-288, 1e-289, 1e-290, 1e-291, 1e-292, 1e-293, 1e-294,
      1e-295, 1e-296, 1e-297, 1e-298, 1e-299, 1e-300, 1e-301, 1e-302, 1e-303,
      1e-304, 1e-305, 1e-306, 1e-307, 1e-308, 1e-309, 1e-310, 1e-311, 1e-312,
      1e-313, 1e-314, 1e-315, 1e-316, 1e-317, 1e-318, 1e-319, 1e-320, 1e-321,
      1e-322, 1e-323,
  };
  return e[n + 308];
}


x86 assembly (clang, -O0):
<powm10>:
push   %rbp
mov    %rsp,%rbp
mov    %edi,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x134,%eax
movslq %eax,%rcx
lea    0x2f17(%rip),%rax
movsd  (%rax,%rcx,8),%xmm0
pop    %rbp
ret

x86 assembly (clang, -O2):
<powm10>:
movslq %edi,%rax
lea    0xef6(%rip),%rcx
movsd  0x9a0(%rcx,%rax,8),%xmm0
ret

LLVM IR (-O0):
@powm10.e = internal global [632 x double] [double 1.000000e+308, double 0x7FAC7B1F3CAC7433, double 1.000000e+306, double 0x7F423A516E82D9BA, double 0x7F0D2A1BE4048F90, double 1.000000e+303, double 1.000000e+302, double 1.000000e+301, double 1.000000e+300, double 1.000000e+299, double 1.000000e+298, double 1.000000e+297, double 0x7D63926BC01A973B, double 1.000000e+295, double 1.000000e+294, double 0x7CC40AABC6C32A38, double 1.000000e+292, double 0x7C59A742461887F6, double 1.000000e+290, double 1.000000e+289, double 1.000000e+288, double 1.000000e+287, double 1.000000e+286, double 0x7B1AE64521F7595E, double 1.000000e+284, double 0x7AB137367C236C65, double 1.000000e+282, double 1.000000e+281, double 1.000000e+280, double 1.000000e+279, double 0x79A6909F3B92C83D, double 1.000000e+277, double 1.000000e+276, double 0x79071B42CC5CF601, double 0x78D27C35704A5E67, double 0x789D9388B3AA30A5, double 1.000000e+272, double 0x7832EDC82110C2F9, double 1.000000e+270, double 1.000000e+269, double 0x779362149CBD3226, double 1.000000e+267, double 1.000000e+266, double 1.000000e+265, double 1.000000e+264, double 1.000000e+263, double 1.000000e+262, double 0x7620427EAD4CFED6, double 1.000000e+260, double 0x75B4CFFE4E7708C0, double 1.000000e+258, double 1.000000e+257, double 1.000000e+256, double 0x74E10CB132C2FF63, double 0x74AB4781EAD1989E, double 0x7475D2CE55747A18, double 1.000000e+252, double 1.000000e+251, double 0x73D658E3AB795204, double 0x73A1E0B622C774D0, double 1.000000e+248, double 0x7336E230D05B76CD, double 1.000000e+246, double 1.000000e+245, double 1.000000e+244, double 1.000000e+243, double 1.000000e+242, double 1.000000e+241, double 1.000000e+240, double 1.000000e+239, double 1.000000e+238, double 0x7123A825C100DD11, double 1.000000e+236, double 1.000000e+235, double 1.000000e+234, double 0x70501A55D07D39CF, double 1.000000e+232, double 1.000000e+231, double 1.000000e+230, double 0x6F7A6208B5068394, double 0x6F451B3A2A6B9C76, double 1.000000e+227, double 0x6EDB04217DFA61DF, double 0x6EA59CE797FB817F, double 0x6E714A52DFFC6799, double 1.000000e+223, double 1.000000e+222, double 1.000000e+221, double 0x6D9C5416BB92E3E6, double 0x6D66A9ABC9424FEB, double 1.000000e+218, double 0x6CFD022390F8B837, double 1.000000e+216, double 0x6C9290BA9A38C7D1, double 0x6C5DB45DC38E0C82, double 0x6C27C37E360B3D35, double 0x6BF302CB5E6F642A, double 1.000000e+211, double 0x6B88557F31326BBB, double 1.000000e+209, double 1.000000e+208, double 1.000000e+207, double 1.000000e+206, double 1.000000e+205, double 0x6A498419D37A6B8F, double 0x6A1469AE42C8560C, double 0x69E0548B68A044D6, double 1.000000e+201, double 0x6974E718D7D7625A, double 1.000000e+199, double 1.000000e+198, double 0x68D56785FBBDD55A, double 0x68A11F9E62FE4448, double 0x686B65CA37FD3A0D, double 0x6835EB082CCA94D7, double 1.000000e+193, double 1.000000e+192, double 1.000000e+191, double 1.000000e+190, double 1.000000e+189, double 1.000000e+188, double 0x66C262DFEEBBB0F9, double 0x668D6AFFE45F818F, double 0x665788CCB6B2CE0C, double 1.000000e+184, double 0x65EE1FBE5A7E7861, double 1.000000e+182, double 0x6583478410F4C7EC, double 1.000000e+180, double 0x6518AD75D8438F43, double 1.000000e+178, double 1.000000e+177, double 1.000000e+176, double 0x6444374374F3C2C6, double 1.000000e+174, double 1.000000e+173, double 1.000000e+172, double 0x63708F936BAF85C1, double 1.000000e+170, double 0x630532A837EAE8A5, double 0x62D0F5535FEF2084, double 1.000000e+167, double 0x6265B4E5998400A9, double 0x62315D847AD00087, double 1.000000e+164, double 0x61C63A432C8F5CD6, double 0x6191C835BD3F7D78, double 1.000000e+161, double 1.000000e+160, double 0x60F2357684599702, double 0x60BD22573A28F19D, double 0x60874EAC2E8727B1, double 0x6052A5568B9F52F4, double 1.000000e+155, double 1.000000e+154, double 0x5FB317E5EF3AB327, double 1.000000e+152, double 1.000000e+151, double 0x5F138D352E5096AF, double 1.000000e+149, double 1.000000e+148, double 0x5E7405552D60DBD6, double 0x5E400444244D7CAB, double 0x5E09A06D06E26112, double 1.000000e+144, double 1.000000e+143, double 1.000000e+142, double 1.000000e+141, double 1.000000e+140, double 1.000000e+139, double 1.000000e+138, double 1.000000e+137, double 1.000000e+136, double 0x5BF6035CE8B6203D, double 0x5BC19C4A53C4E697, double 1.000000e+133, double 0x5B568A9C942F3BA3, double 0x5B22087D4358FC82, double 1.000000e+130, double 0x5AB7151B377C247E, double 1.000000e+128, double 0x5A4D8BA7F519C84F, double 0x5A17A2ECC414A03F, double 0x59E2E8BD69AA19CC, double 0x59AE412F0F768FAD, double 0x59783425A5F872F1, double 1.000000e+122, double 1.000000e+121, double 0x58D8C8DAC6A0342A, double 0x58A3D3E2388029BB, double 1.000000e+118, double 1.000000e+117, double 1.000000e+116, double 1.000000e+115, double 1.000000e+114, double 1.000000e+113, double 0x5730A1F5B8132466, double 0x56FA9CBC59B83A3D, double 1.000000e+110, double 0x569108269FD210CB, double 1.000000e+108, double 0x5625CCFE3D35D80E, double 1.000000e+106, double 0x55BBE7ABD3781ECA, double 1.000000e+104, double 1.000000e+103, double 0x551C931E8AB87173, double 0x54E6DC186EF9F45C, double 1.000000e+100, double 0x547D42AEA2879F2E, double 0x5447688BB5394C25, double 1.000000e+97, double 1.000000e+96, double 1.000000e+95, double 1.000000e+94, double 1.000000e+93, double 1.000000e+92, double 1.000000e+91, double 1.000000e+90, double 0x526922726DBAAE39, double 0x52341B8EBE2EF1C7, double 0x5200160BCB58C16C, double 1.000000e+86, double 1.000000e+85, double 1.000000e+84, double 1.000000e+83, double 0x50F5159AF8044462, double 0x50C0DE1593369D1B, double 1.000000e+80, double 0x50559725DB272F7F, double 1.000000e+78, double 0x4FEBA2BFD0D5FF5B, double 1.000000e+76, double 0x4F81AFD6EC0E1411, double 0x4F4C4C8B1349B9B5, double 0x4F16A3A275D49491, double 0x4EE21C81F7DD43A7, double 1.000000e+71, double 1.000000e+70, double 1.000000e+69, double 0x4E0DAC74463A989F, double 0x4DD7BD29D1C87A19, double 0x4DA2FDBB0E39FB47, double 0x4D6E62C4E38FF872, double 1.000000e+64, double 1.000000e+63, double 1.000000e+62, double 0x4C98E45E1DF3B015, double 0x4C63E9E4E4C2F344, double 1.000000e+59, double 0x4BF97D4DF19D6057, double 1.000000e+57, double 1.000000e+56, double 1.000000e+55, double 1.000000e+54, double 0x4AF0B46C6CDD6E3E, double 0x4ABABA4714957D30, double 0x4A8561D276DDFDC0, double 1.000000e+50, double 0x4A1B5E7E08CA3A8F, double 1.000000e+48, double 1.000000e+47, double 0x497C06A5EC5433C6, double 0x49466BB7F0435C9E, double 1.000000e+44, double 1.000000e+43, double 1.000000e+42, double 1.000000e+41, double 1.000000e+40, double 0x48078287F49C4A1D, double 0x47D2CED32A16A1B1, double 0x479E17B84357691B, double 1.000000e+36, double 0x4733426172C74D82, double 1.000000e+34, double 0x46C8A6E32246C99C, double 1.000000e+32, double 1.000000e+31, double 1.000000e+30, double 0x45F431E0FAE6D721, double 0x45C027E72F1F1281, double 1.000000e+27, double 1.000000e+26, double 1.000000e+25, double 0x44EA784379D99DB4, double 0x44B52D02C7E14AF6, double 1.000000e+22, double 1.000000e+21, double 1.000000e+20, double 1.000000e+19, double 1.000000e+18, double 1.000000e+17, double 1.000000e+16, double 1.000000e+15, double 1.000000e+14, double 1.000000e+13, double 1.000000e+12, double 1.000000e+11, double 1.000000e+10, double 1.000000e+09, double 1.000000e+08, double 1.000000e+07, double 1.000000e+06, double 1.000000e+05, double 1.000000e+04, double 1.000000e+03, double 1.000000e+02, double 1.000000e+01, double 1.000000e+00, double 1.000000e-01, double 1.000000e-02, double 1.000000e-03, double 1.000000e-04, double 1.000000e-05, double 0x3EB0C6F7A0B5ED8D, double 0x3E7AD7F29ABCAF48, double 1.000000e-08, double 1.000000e-09, double 1.000000e-10, double 0x3DA5FD7FE1796495, double 0x3D719799812DEA11, double 1.000000e-13, double 0x3D06849B86A12B9B, double 1.000000e-15, double 0x3C9CD2B297D889BC, double 1.000000e-17, double 1.000000e-18, double 0x3BFD83C94FB6D2AC, double 0x3BC79CA10C924223, double 0x3B92E3B40A0E9B4F, double 1.000000e-22, double 0x3B282DB34012B251, double 0x3AF357C299A88EA7, double 1.000000e-25, double 1.000000e-26, double 1.000000e-27, double 1.000000e-28, double 0x39E95A5EFEA6B347, double 1.000000e-30, double 1.000000e-31, double 1.000000e-32, double 1.000000e-33, double 0x38E09D8792FB4C49, double 1.000000e-35, double 0x38754484932D2E72, double 1.000000e-37, double 0x380B38FB9DAA78E4, double 0x37D5C72FB1552D83, double 0x37A16C262777579C, double 1.000000e-41, double 1.000000e-42, double 1.000000e-43, double 0x36CC8B8218854567, double 0x3696D601AD376AB9, double 1.000000e-46, double 0x362D3AE36D13BBCE, double 0x35F7624F8A762FD8, double 0x35C2B50C6EC4F313, double 1.000000e-50, double 1.000000e-51, double 1.000000e-52, double 1.000000e-53, double 1.000000e-54, double 1.000000e-55, double 1.000000e-56, double 0x34191BC08EAC9A41, double 1.000000e-58, double 1.000000e-59, double 0x3379B604AAACA626, double 1.000000e-61, double 1.000000e-62, double 1.000000e-63, double 0x32A50FFD44F4A73D, double 0x3270D9976A5D5297, double 1.000000e-66, double 1.000000e-67, double 1.000000e-68, double 1.000000e-69, double 0x316615E91D8F359D, double 0x3131AB20E472914A, double 0x30FC45016D841BAA, double 0x30C69D9ABE034955, double 0x309217AEFE690777, double 0x305CF2B1970E7258, double 0x3027288E1271F513, double 0x2FF286D80EC190DC, double 0x2FBDA48CE468E7C7, double 0x2F87B6D71D20B96C, double 0x2F52F8AC174D6123, double 0x2F1E5AACF2156838, double 0x2EE8488A5B445360, double 1.000000e-83, double 1.000000e-84, double 0x2E48DDBCC7F40BA6, double 1.000000e-86, double 1.000000e-87, double 0x2DA97683DF2F268D, double 1.000000e-89, double 0x2D404BD984990E6F, double 1.000000e-91, double 0x2CD4DBF7B3F71CB7, double 1.000000e-93, double 1.000000e-94, double 0x2C355C2076BF9A55, double 0x2C0116805EFFAEAA, double 1.000000e-97, double 0x2B95DF5CA28EF40D, double 1.000000e-99, double 1.000000e-100, double 1.000000e-101, double 0x2AC1EAFF4A98553D, double 0x2A8CAB3210F3BB95, double 0x2A56EF5B40C2FC77, double 0x2A225915CD68C9F9, double 0x29ED5B561574765B, double 1.000000e-107, double 1.000000e-108, double 0x294E0FB44F50586E, double 1.000000e-110, double 1.000000e-111, double 0x28AEC866B79E0CBA, double 0x2878A0522C7E7095, double 1.000000e-114, double 1.000000e-115, double 0x27D9379FEC069826, double 1.000000e-117, double 1.000000e-118, double 1.000000e-119, double 0x2704A8729FC3DDB7, double 0x26D086C219697E2C, double 1.000000e-122, double 1.000000e-123, double 0x2630EC4BE0AD8F89, double 1.000000e-125, double 0x25C5A956E225D672, double 1.000000e-127, double 1.000000e-128, double 0x25262E6D72D6DFB0, double 1.000000e-130, double 0x24BC6463225AB7EC, double 0x2486B6B5B5155FF0, double 1.000000e-133, double 1.000000e-134, double 1.000000e-135, double 1.000000e-136, double 0x237DC574D80CF16B, double 1.000000e-138, double 1.000000e-139, double 0x22DE7C5F127BD87E, double 1.000000e-141, double 1.000000e-142, double 0x223F37AD21436D0C, double 0x2208F9574DCF8A70, double 0x21D3FAAC3E3FA1F3, double 1.000000e-146, double 0x216992C7FDC216FA, double 0x2134756CCB01ABFB, double 0x21005DF0A267BCC9, double 1.000000e-150, double 0x2094F31F8832DD2A, double 1.000000e-152, double 1.000000e-153, double 0x1FF573D68F903EA2, double 1.000000e-155, double 1.000000e-156, double 0x1F55F7A46A0C89DD, double 1.000000e-158, double 0x1EEC1E43171A4A11, double 0x1EB67E9C127B6E74, double 1.000000e-161, double 0x1E4CCB0536608D61, double 0x1E1708D0F84D3DE7, double 0x1DE26D73F9D764B9, double 1.000000e-165, double 1.000000e-166, double 1.000000e-167, double 1.000000e-168, double 1.000000e-169, double 1.000000e-170, double 1.000000e-171, double 1.000000e-172, double 1.000000e-173, double 0x1BCFA885C8D117A6, double 0x1B99539E3A40DFB8, double 0x1B6442E4FB671960, double 0x1B303583FC527AB3, double 0x1AF9EF3993B72AB8, double 1.000000e-179, double 1.000000e-180, double 1.000000e-181, double 1.000000e-182, double 1.000000e-183, double 1.000000e-184, double 0x1985C162B168E70E, double 0x1951678227871F3E, double 1.000000e-187, double 0x18E6470CFF6546B6, double 1.000000e-189, double 1.000000e-190, double 1.000000e-191, double 1.000000e-192, double 1.000000e-193, double 1.000000e-194, double 1.000000e-195, double 1.000000e-196, double 0x1707EB9AA8CF1DDE, double 0x16D322E220A5B17E, double 0x169E9E369AA2B597, double 0x16687E92154EF7AC, double 0x16339874DDD8C623, double 1.000000e-202, double 1.000000e-203, double 1.000000e-204, double 1.000000e-205, double 1.000000e-206, double 0x14F48C22CA71A1BD, double 1.000000e-208, double 1.000000e-209, double 1.000000e-210, double 1.000000e-211, double 0x13EAEE90B964B047, double 0x13B58BA6FAB6F36C, double 0x13813C85955F2923, double 1.000000e-215, double 1.000000e-216, double 1.000000e-217, double 1.000000e-218, double 1.000000e-219, double 0x124212DD4DE70913, double 1.000000e-221, double 1.000000e-222, double 0x11A281E8C275CBDA, double 1.000000e-224, double 0x1137B08617A104EE, double 0x1102F39E794D9D8B, double 0x10CE5297287C2F45, double 1.000000e-228, double 1.000000e-229, double 1.000000e-230, double 0xFF8D71D360E13E2, double 1.000000e-232, double 0xF8FCBAA82A16121, double 0xF596FBB9BB44DB4, double 0xF245962E2F6A490, double 1.000000e-236, double 0xEBA0C03B1DF8AF6, double 0xE84D6695B193BF8, double 1.000000e-239, double 0xE1AAC0BF9B9E65C, double 0xDE5566FFAFB1EB0, double 0xDB111F32F2F4BC0, double 0xD7B4FEB7EB212CD, double 1.000000e-244, double 1.000000e-245, double 1.000000e-246, double 1.000000e-247, double 0xC71E6398126F5CB, double 1.000000e-249, double 1.000000e-250, double 1.000000e-251, double 0xB9D53844EE47DD1, double 1.000000e-253, double 0xB32C4CF8EA6B6EC, double 1.000000e-255, double 0xAC8062864AC6F43, double 0xA9338205089F29C, double 1.000000e-258, double 1.000000e-259, double 0x9F3AE3591F5B4D9, double 0x9BF7D228322BAF5, double 1.000000e-262, double 1.000000e-263, double 1.000000e-264, double 0x8E9CBAE7FE805B3, double 0x8B4A2F1FFECD15C, double 0x880825B3323DAB0, double 0x84A6A2B85062AB3, double 0x81521BC6A6B555C, double 1.000000e-270, double 0x7AB0C764AC6D3A9, double 0x775A391D56BDC87, double 1.000000e-273, double 0x70BB2A62FE638FF, double 0x6D62884F31E93FF, double 1.000000e-276, double 0x66C5CD322B67FFF, double 0x636B0A8E891FFFF, double 1.000000e-279, double 0x5CD0B15A491EB84, double 1.000000e-281, double 1.000000e-282, double 0x52DBD86CD6238D9, double 1.000000e-284, double 1.000000e-285, double 1.000000e-286, double 1.000000e-287, double 1.000000e-288, double 1.000000e-289, double 1.000000e-290, double 0x383F559E7BEE6C1, double 1.000000e-292, double 1.000000e-293, double 1.000000e-294, double 1.000000e-295, double 1.000000e-296, double 1.000000e-297, double 0x210BE08D0527E1D, double 0x1DAC9A7B3B7302F, double 1.000000e-300, double 1.000000e-301, double 0x13B6E3D22865634, double 0x105F1CA820511C3, double 0xD18E3B9B374169, double 1.000000e-305, double 1.000000e-306, double 0x31FA182C40C60D, double 0x730D67819E8D2, double 1.000000e-309, double 1.000000e-310, double 0x1D74124E3D1, double 0x2F201D49FB, double 1.000000e-313, double 0x78A42205, double 0xC1069CD, double 0x134D761, double 1.000000e-317, double 9.999980e-319, double 9.999880e-320, double 9.999880e-321, double 9.980120e-322, double 9.881310e-323, double 9.881310e-324]
define double @powm10(i32 %0) {
%2 = alloca i32
store i32 %0, i32* %2
%3 = load i32, i32* %2
%4 = add nsw i32 %3, 308
%5 = sext i32 %4 to i64
%6 = getelementptr inbounds [632 x double], [632 x double]* @powm10.e, i64 0, i64 %5
%7 = load double, double* %6
ret double %7
}

LLVM IR (-O2):
@powm10.e = internal unnamed_addr constant [632 x double] [double 1.000000e+308, double 0x7FAC7B1F3CAC7433, double 1.000000e+306, double 0x7F423A516E82D9BA, double 0x7F0D2A1BE4048F90, double 1.000000e+303, double 1.000000e+302, double 1.000000e+301, double 1.000000e+300, double 1.000000e+299, double 1.000000e+298, double 1.000000e+297, double 0x7D63926BC01A973B, double 1.000000e+295, double 1.000000e+294, double 0x7CC40AABC6C32A38, double 1.000000e+292, double 0x7C59A742461887F6, double 1.000000e+290, double 1.000000e+289, double 1.000000e+288, double 1.000000e+287, double 1.000000e+286, double 0x7B1AE64521F7595E, double 1.000000e+284, double 0x7AB137367C236C65, double 1.000000e+282, double 1.000000e+281, double 1.000000e+280, double 1.000000e+279, double 0x79A6909F3B92C83D, double 1.000000e+277, double 1.000000e+276, double 0x79071B42CC5CF601, double 0x78D27C35704A5E67, double 0x789D9388B3AA30A5, double 1.000000e+272, double 0x7832EDC82110C2F9, double 1.000000e+270, double 1.000000e+269, double 0x779362149CBD3226, double 1.000000e+267, double 1.000000e+266, double 1.000000e+265, double 1.000000e+264, double 1.000000e+263, double 1.000000e+262, double 0x7620427EAD4CFED6, double 1.000000e+260, double 0x75B4CFFE4E7708C0, double 1.000000e+258, double 1.000000e+257, double 1.000000e+256, double 0x74E10CB132C2FF63, double 0x74AB4781EAD1989E, double 0x7475D2CE55747A18, double 1.000000e+252, double 1.000000e+251, double 0x73D658E3AB795204, double 0x73A1E0B622C774D0, double 1.000000e+248, double 0x7336E230D05B76CD, double 1.000000e+246, double 1.000000e+245, double 1.000000e+244, double 1.000000e+243, double 1.000000e+242, double 1.000000e+241, double 1.000000e+240, double 1.000000e+239, double 1.000000e+238, double 0x7123A825C100DD11, double 1.000000e+236, double 1.000000e+235, double 1.000000e+234, double 0x70501A55D07D39CF, double 1.000000e+232, double 1.000000e+231, double 1.000000e+230, double 0x6F7A6208B5068394, double 0x6F451B3A2A6B9C76, double 1.000000e+227, double 0x6EDB04217DFA61DF, double 0x6EA59CE797FB817F, double 0x6E714A52DFFC6799, double 1.000000e+223, double 1.000000e+222, double 1.000000e+221, double 0x6D9C5416BB92E3E6, double 0x6D66A9ABC9424FEB, double 1.000000e+218, double 0x6CFD022390F8B837, double 1.000000e+216, double 0x6C9290BA9A38C7D1, double 0x6C5DB45DC38E0C82, double 0x6C27C37E360B3D35, double 0x6BF302CB5E6F642A, double 1.000000e+211, double 0x6B88557F31326BBB, double 1.000000e+209, double 1.000000e+208, double 1.000000e+207, double 1.000000e+206, double 1.000000e+205, double 0x6A498419D37A6B8F, double 0x6A1469AE42C8560C, double 0x69E0548B68A044D6, double 1.000000e+201, double 0x6974E718D7D7625A, double 1.000000e+199, double 1.000000e+198, double 0x68D56785FBBDD55A, double 0x68A11F9E62FE4448, double 0x686B65CA37FD3A0D, double 0x6835EB082CCA94D7, double 1.000000e+193, double 1.000000e+192, double 1.000000e+191, double 1.000000e+190, double 1.000000e+189, double 1.000000e+188, double 0x66C262DFEEBBB0F9, double 0x668D6AFFE45F818F, double 0x665788CCB6B2CE0C, double 1.000000e+184, double 0x65EE1FBE5A7E7861, double 1.000000e+182, double 0x6583478410F4C7EC, double 1.000000e+180, double 0x6518AD75D8438F43, double 1.000000e+178, double 1.000000e+177, double 1.000000e+176, double 0x6444374374F3C2C6, double 1.000000e+174, double 1.000000e+173, double 1.000000e+172, double 0x63708F936BAF85C1, double 1.000000e+170, double 0x630532A837EAE8A5, double 0x62D0F5535FEF2084, double 1.000000e+167, double 0x6265B4E5998400A9, double 0x62315D847AD00087, double 1.000000e+164, double 0x61C63A432C8F5CD6, double 0x6191C835BD3F7D78, double 1.000000e+161, double 1.000000e+160, double 0x60F2357684599702, double 0x60BD22573A28F19D, double 0x60874EAC2E8727B1, double 0x6052A5568B9F52F4, double 1.000000e+155, double 1.000000e+154, double 0x5FB317E5EF3AB327, double 1.000000e+152, double 1.000000e+151, double 0x5F138D352E5096AF, double 1.000000e+149, double 1.000000e+148, double 0x5E7405552D60DBD6, double 0x5E400444244D7CAB, double 0x5E09A06D06E26112, double 1.000000e+144, double 1.000000e+143, double 1.000000e+142, double 1.000000e+141, double 1.000000e+140, double 1.000000e+139, double 1.000000e+138, double 1.000000e+137, double 1.000000e+136, double 0x5BF6035CE8B6203D, double 0x5BC19C4A53C4E697, double 1.000000e+133, double 0x5B568A9C942F3BA3, double 0x5B22087D4358FC82, double 1.000000e+130, double 0x5AB7151B377C247E, double 1.000000e+128, double 0x5A4D8BA7F519C84F, double 0x5A17A2ECC414A03F, double 0x59E2E8BD69AA19CC, double 0x59AE412F0F768FAD, double 0x59783425A5F872F1, double 1.000000e+122, double 1.000000e+121, double 0x58D8C8DAC6A0342A, double 0x58A3D3E2388029BB, double 1.000000e+118, double 1.000000e+117, double 1.000000e+116, double 1.000000e+115, double 1.000000e+114, double 1.000000e+113, double 0x5730A1F5B8132466, double 0x56FA9CBC59B83A3D, double 1.000000e+110, double 0x569108269FD210CB, double 1.000000e+108, double 0x5625CCFE3D35D80E, double 1.000000e+106, double 0x55BBE7ABD3781ECA, double 1.000000e+104, double 1.000000e+103, double 0x551C931E8AB87173, double 0x54E6DC186EF9F45C, double 1.000000e+100, double 0x547D42AEA2879F2E, double 0x5447688BB5394C25, double 1.000000e+97, double 1.000000e+96, double 1.000000e+95, double 1.000000e+94, double 1.000000e+93, double 1.000000e+92, double 1.000000e+91, double 1.000000e+90, double 0x526922726DBAAE39, double 0x52341B8EBE2EF1C7, double 0x5200160BCB58C16C, double 1.000000e+86, double 1.000000e+85, double 1.000000e+84, double 1.000000e+83, double 0x50F5159AF8044462, double 0x50C0DE1593369D1B, double 1.000000e+80, double 0x50559725DB272F7F, double 1.000000e+78, double 0x4FEBA2BFD0D5FF5B, double 1.000000e+76, double 0x4F81AFD6EC0E1411, double 0x4F4C4C8B1349B9B5, double 0x4F16A3A275D49491, double 0x4EE21C81F7DD43A7, double 1.000000e+71, double 1.000000e+70, double 1.000000e+69, double 0x4E0DAC74463A989F, double 0x4DD7BD29D1C87A19, double 0x4DA2FDBB0E39FB47, double 0x4D6E62C4E38FF872, double 1.000000e+64, double 1.000000e+63, double 1.000000e+62, double 0x4C98E45E1DF3B015, double 0x4C63E9E4E4C2F344, double 1.000000e+59, double 0x4BF97D4DF19D6057, double 1.000000e+57, double 1.000000e+56, double 1.000000e+55, double 1.000000e+54, double 0x4AF0B46C6CDD6E3E, double 0x4ABABA4714957D30, double 0x4A8561D276DDFDC0, double 1.000000e+50, double 0x4A1B5E7E08CA3A8F, double 1.000000e+48, double 1.000000e+47, double 0x497C06A5EC5433C6, double 0x49466BB7F0435C9E, double 1.000000e+44, double 1.000000e+43, double 1.000000e+42, double 1.000000e+41, double 1.000000e+40, double 0x48078287F49C4A1D, double 0x47D2CED32A16A1B1, double 0x479E17B84357691B, double 1.000000e+36, double 0x4733426172C74D82, double 1.000000e+34, double 0x46C8A6E32246C99C, double 1.000000e+32, double 1.000000e+31, double 1.000000e+30, double 0x45F431E0FAE6D721, double 0x45C027E72F1F1281, double 1.000000e+27, double 1.000000e+26, double 1.000000e+25, double 0x44EA784379D99DB4, double 0x44B52D02C7E14AF6, double 1.000000e+22, double 1.000000e+21, double 1.000000e+20, double 1.000000e+19, double 1.000000e+18, double 1.000000e+17, double 1.000000e+16, double 1.000000e+15, double 1.000000e+14, double 1.000000e+13, double 1.000000e+12, double 1.000000e+11, double 1.000000e+10, double 1.000000e+09, double 1.000000e+08, double 1.000000e+07, double 1.000000e+06, double 1.000000e+05, double 1.000000e+04, double 1.000000e+03, double 1.000000e+02, double 1.000000e+01, double 1.000000e+00, double 1.000000e-01, double 1.000000e-02, double 1.000000e-03, double 1.000000e-04, double 1.000000e-05, double 0x3EB0C6F7A0B5ED8D, double 0x3E7AD7F29ABCAF48, double 1.000000e-08, double 1.000000e-09, double 1.000000e-10, double 0x3DA5FD7FE1796495, double 0x3D719799812DEA11, double 1.000000e-13, double 0x3D06849B86A12B9B, double 1.000000e-15, double 0x3C9CD2B297D889BC, double 1.000000e-17, double 1.000000e-18, double 0x3BFD83C94FB6D2AC, double 0x3BC79CA10C924223, double 0x3B92E3B40A0E9B4F, double 1.000000e-22, double 0x3B282DB34012B251, double 0x3AF357C299A88EA7, double 1.000000e-25, double 1.000000e-26, double 1.000000e-27, double 1.000000e-28, double 0x39E95A5EFEA6B347, double 1.000000e-30, double 1.000000e-31, double 1.000000e-32, double 1.000000e-33, double 0x38E09D8792FB4C49, double 1.000000e-35, double 0x38754484932D2E72, double 1.000000e-37, double 0x380B38FB9DAA78E4, double 0x37D5C72FB1552D83, double 0x37A16C262777579C, double 1.000000e-41, double 1.000000e-42, double 1.000000e-43, double 0x36CC8B8218854567, double 0x3696D601AD376AB9, double 1.000000e-46, double 0x362D3AE36D13BBCE, double 0x35F7624F8A762FD8, double 0x35C2B50C6EC4F313, double 1.000000e-50, double 1.000000e-51, double 1.000000e-52, double 1.000000e-53, double 1.000000e-54, double 1.000000e-55, double 1.000000e-56, double 0x34191BC08EAC9A41, double 1.000000e-58, double 1.000000e-59, double 0x3379B604AAACA626, double 1.000000e-61, double 1.000000e-62, double 1.000000e-63, double 0x32A50FFD44F4A73D, double 0x3270D9976A5D5297, double 1.000000e-66, double 1.000000e-67, double 1.000000e-68, double 1.000000e-69, double 0x316615E91D8F359D, double 0x3131AB20E472914A, double 0x30FC45016D841BAA, double 0x30C69D9ABE034955, double 0x309217AEFE690777, double 0x305CF2B1970E7258, double 0x3027288E1271F513, double 0x2FF286D80EC190DC, double 0x2FBDA48CE468E7C7, double 0x2F87B6D71D20B96C, double 0x2F52F8AC174D6123, double 0x2F1E5AACF2156838, double 0x2EE8488A5B445360, double 1.000000e-83, double 1.000000e-84, double 0x2E48DDBCC7F40BA6, double 1.000000e-86, double 1.000000e-87, double 0x2DA97683DF2F268D, double 1.000000e-89, double 0x2D404BD984990E6F, double 1.000000e-91, double 0x2CD4DBF7B3F71CB7, double 1.000000e-93, double 1.000000e-94, double 0x2C355C2076BF9A55, double 0x2C0116805EFFAEAA, double 1.000000e-97, double 0x2B95DF5CA28EF40D, double 1.000000e-99, double 1.000000e-100, double 1.000000e-101, double 0x2AC1EAFF4A98553D, double 0x2A8CAB3210F3BB95, double 0x2A56EF5B40C2FC77, double 0x2A225915CD68C9F9, double 0x29ED5B561574765B, double 1.000000e-107, double 1.000000e-108, double 0x294E0FB44F50586E, double 1.000000e-110, double 1.000000e-111, double 0x28AEC866B79E0CBA, double 0x2878A0522C7E7095, double 1.000000e-114, double 1.000000e-115, double 0x27D9379FEC069826, double 1.000000e-117, double 1.000000e-118, double 1.000000e-119, double 0x2704A8729FC3DDB7, double 0x26D086C219697E2C, double 1.000000e-122, double 1.000000e-123, double 0x2630EC4BE0AD8F89, double 1.000000e-125, double 0x25C5A956E225D672, double 1.000000e-127, double 1.000000e-128, double 0x25262E6D72D6DFB0, double 1.000000e-130, double 0x24BC6463225AB7EC, double 0x2486B6B5B5155FF0, double 1.000000e-133, double 1.000000e-134, double 1.000000e-135, double 1.000000e-136, double 0x237DC574D80CF16B, double 1.000000e-138, double 1.000000e-139, double 0x22DE7C5F127BD87E, double 1.000000e-141, double 1.000000e-142, double 0x223F37AD21436D0C, double 0x2208F9574DCF8A70, double 0x21D3FAAC3E3FA1F3, double 1.000000e-146, double 0x216992C7FDC216FA, double 0x2134756CCB01ABFB, double 0x21005DF0A267BCC9, double 1.000000e-150, double 0x2094F31F8832DD2A, double 1.000000e-152, double 1.000000e-153, double 0x1FF573D68F903EA2, double 1.000000e-155, double 1.000000e-156, double 0x1F55F7A46A0C89DD, double 1.000000e-158, double 0x1EEC1E43171A4A11, double 0x1EB67E9C127B6E74, double 1.000000e-161, double 0x1E4CCB0536608D61, double 0x1E1708D0F84D3DE7, double 0x1DE26D73F9D764B9, double 1.000000e-165, double 1.000000e-166, double 1.000000e-167, double 1.000000e-168, double 1.000000e-169, double 1.000000e-170, double 1.000000e-171, double 1.000000e-172, double 1.000000e-173, double 0x1BCFA885C8D117A6, double 0x1B99539E3A40DFB8, double 0x1B6442E4FB671960, double 0x1B303583FC527AB3, double 0x1AF9EF3993B72AB8, double 1.000000e-179, double 1.000000e-180, double 1.000000e-181, double 1.000000e-182, double 1.000000e-183, double 1.000000e-184, double 0x1985C162B168E70E, double 0x1951678227871F3E, double 1.000000e-187, double 0x18E6470CFF6546B6, double 1.000000e-189, double 1.000000e-190, double 1.000000e-191, double 1.000000e-192, double 1.000000e-193, double 1.000000e-194, double 1.000000e-195, double 1.000000e-196, double 0x1707EB9AA8CF1DDE, double 0x16D322E220A5B17E, double 0x169E9E369AA2B597, double 0x16687E92154EF7AC, double 0x16339874DDD8C623, double 1.000000e-202, double 1.000000e-203, double 1.000000e-204, double 1.000000e-205, double 1.000000e-206, double 0x14F48C22CA71A1BD, double 1.000000e-208, double 1.000000e-209, double 1.000000e-210, double 1.000000e-211, double 0x13EAEE90B964B047, double 0x13B58BA6FAB6F36C, double 0x13813C85955F2923, double 1.000000e-215, double 1.000000e-216, double 1.000000e-217, double 1.000000e-218, double 1.000000e-219, double 0x124212DD4DE70913, double 1.000000e-221, double 1.000000e-222, double 0x11A281E8C275CBDA, double 1.000000e-224, double 0x1137B08617A104EE, double 0x1102F39E794D9D8B, double 0x10CE5297287C2F45, double 1.000000e-228, double 1.000000e-229, double 1.000000e-230, double 0xFF8D71D360E13E2, double 1.000000e-232, double 0xF8FCBAA82A16121, double 0xF596FBB9BB44DB4, double 0xF245962E2F6A490, double 1.000000e-236, double 0xEBA0C03B1DF8AF6, double 0xE84D6695B193BF8, double 1.000000e-239, double 0xE1AAC0BF9B9E65C, double 0xDE5566FFAFB1EB0, double 0xDB111F32F2F4BC0, double 0xD7B4FEB7EB212CD, double 1.000000e-244, double 1.000000e-245, double 1.000000e-246, double 1.000000e-247, double 0xC71E6398126F5CB, double 1.000000e-249, double 1.000000e-250, double 1.000000e-251, double 0xB9D53844EE47DD1, double 1.000000e-253, double 0xB32C4CF8EA6B6EC, double 1.000000e-255, double 0xAC8062864AC6F43, double 0xA9338205089F29C, double 1.000000e-258, double 1.000000e-259, double 0x9F3AE3591F5B4D9, double 0x9BF7D228322BAF5, double 1.000000e-262, double 1.000000e-263, double 1.000000e-264, double 0x8E9CBAE7FE805B3, double 0x8B4A2F1FFECD15C, double 0x880825B3323DAB0, double 0x84A6A2B85062AB3, double 0x81521BC6A6B555C, double 1.000000e-270, double 0x7AB0C764AC6D3A9, double 0x775A391D56BDC87, double 1.000000e-273, double 0x70BB2A62FE638FF, double 0x6D62884F31E93FF, double 1.000000e-276, double 0x66C5CD322B67FFF, double 0x636B0A8E891FFFF, double 1.000000e-279, double 0x5CD0B15A491EB84, double 1.000000e-281, double 1.000000e-282, double 0x52DBD86CD6238D9, double 1.000000e-284, double 1.000000e-285, double 1.000000e-286, double 1.000000e-287, double 1.000000e-288, double 1.000000e-289, double 1.000000e-290, double 0x383F559E7BEE6C1, double 1.000000e-292, double 1.000000e-293, double 1.000000e-294, double 1.000000e-295, double 1.000000e-296, double 1.000000e-297, double 0x210BE08D0527E1D, double 0x1DAC9A7B3B7302F, double 1.000000e-300, double 1.000000e-301, double 0x13B6E3D22865634, double 0x105F1CA820511C3, double 0xD18E3B9B374169, double 1.000000e-305, double 1.000000e-306, double 0x31FA182C40C60D, double 0x730D67819E8D2, double 1.000000e-309, double 1.000000e-310, double 0x1D74124E3D1, double 0x2F201D49FB, double 1.000000e-313, double 0x78A42205, double 0xC1069CD, double 0x134D761, double 1.000000e-317, double 9.999980e-319, double 9.999880e-320, double 9.999880e-321, double 9.980120e-322, double 9.881310e-323, double 9.881310e-324]
define double @powm10(i32 %0) {
%2 = add nsw i32 %0, 308
%3 = sext i32 %2 to i64
%4 = getelementptr inbounds [632 x double], [632 x double]* @powm10.e, i64 0, i64 %3
%5 = load double, double* %4
ret double %5
}