@@ -16,22 +16,22 @@ static POW10: [Digit; 10] =
1616 [ 1 , 10 , 100 , 1000 , 10000 , 100000 , 1000000 , 10000000 , 100000000 , 1000000000 ] ;
1717// precalculated arrays of `Digit`s for 5^(2^n).
1818// FIXME(#162879): these tables have u64 and u32 versions, future versions may be generated by macro.
19- #[ cfg( target_pointer_width = "32" ) ]
19+ #[ cfg( any ( target_pointer_width = "16" , target_pointer_width = " 32") ) ]
2020static POW5TO16 : [ Digit ; 2 ] = [ 0x86f26fc1 , 0x23 ] ;
2121#[ cfg( target_pointer_width = "64" ) ]
2222static POW5TO16 : [ Digit ; 1 ] = [ 0x2386f26fc1 ] ;
2323
24- #[ cfg( target_pointer_width = "32" ) ]
24+ #[ cfg( any ( target_pointer_width = "16" , target_pointer_width = " 32") ) ]
2525static POW5TO32 : [ Digit ; 3 ] = [ 0x85acef81 , 0x2d6d415b , 0x4ee ] ;
2626#[ cfg( target_pointer_width = "64" ) ]
2727static POW5TO32 : [ Digit ; 2 ] = [ 0x2d6d415b85acef81 , 0x4ee ] ;
2828
29- #[ cfg( target_pointer_width = "32" ) ]
29+ #[ cfg( any ( target_pointer_width = "16" , target_pointer_width = " 32") ) ]
3030static POW5TO64 : [ Digit ; 5 ] = [ 0xbf6a1f01 , 0x6e38ed64 , 0xdaa797ed , 0xe93ff9f4 , 0x184f03 ] ;
3131#[ cfg( target_pointer_width = "64" ) ]
3232static POW5TO64 : [ Digit ; 3 ] = [ 0x6e38ed64bf6a1f01 , 0xe93ff9f4daa797ed , 0x184f03 ] ;
3333
34- #[ cfg( target_pointer_width = "32" ) ]
34+ #[ cfg( any ( target_pointer_width = "16" , target_pointer_width = " 32") ) ]
3535static POW5TO128 : [ Digit ; 10 ] = [
3636 0x2e953e01 , 0x3df9909 , 0xf1538fd , 0x2374e42f , 0xd3cff5ec , 0xc404dc08 , 0xbccdb0da , 0xa6337f19 ,
3737 0xe91f2603 , 0x24e ,
@@ -40,7 +40,7 @@ static POW5TO128: [Digit; 10] = [
4040static POW5TO128 : [ Digit ; 5 ] =
4141 [ 0x3df99092e953e01 , 0x2374e42f0f1538fd , 0xc404dc08d3cff5ec , 0xa6337f19bccdb0da , 0x24ee91f2603 ] ;
4242
43- #[ cfg( target_pointer_width = "32" ) ]
43+ #[ cfg( any ( target_pointer_width = "16" , target_pointer_width = " 32") ) ]
4444static POW5TO256 : [ Digit ; 19 ] = [
4545 0x982e7c01 , 0xbed3875b , 0xd8d99f72 , 0x12152f87 , 0x6bde50c6 , 0xcf4a6e70 , 0xd595d80f , 0x26b2716e ,
4646 0xadc666b0 , 0x1d153624 , 0x3c42d35a , 0x63ff540e , 0xcc5573c0 , 0x65f9ef17 , 0x55bc28f2 , 0x80dcc7f7 ,
0 commit comments