zoukankan      html  css  js  c++  java
  • Coherent Calculator

    image

    计算逻辑

    输入想要的参数后点击以下按钮进行计算和调整:

    • Formula
    • Bigger N
    • Smaller N
    • Bigger M
    • Smaller M

    所以在这个策略中Ft被Fixed在输入的值,其他的三个参数会按需调整。

    Formula

             Calculate stretegy
             1. Force N to Nth power of 2
             2. With Fs and Ft fixed, calculate M based on N
             3. Force calculated M to the nearest prime number 
             4. Recalculate Fs based on the resulted M   
    

    Bigger N

             Calculate stretegy
             1. Force nudN to (N+1)th power of 2
             2. With N and Ft fixed, calculate M based on given Fs
             3. Force calculated M to the nearest prime number 
             4. Recalculate Fs based on the calculated M
    

    Smaller N

             Calculate stretegy
             1. Force nudN to (N-1)th power of 2
             2. With Fs and Ft fixed, calculate M based on N
             3. Force calculated M to the nearest prime number 
             4. Recalculate Fs based on the calculated M
    

    Bigger M

             Calculate stretegy
             1. Force cbboxM to the bigger prime number 
             2. With Fs and Ft fixed, calculate the N with the resulted M;
    

    Smaller M

             Calculate stretegy
             1. Force cbboxM to the smaller prime number 
             2. With Fs and Ft fixed, calculate the N with the resulted M;
  • 相关阅读:
    JArray
    签名和验签
    private、protected、public和internal的区别
    DataTime.Now.Ticks
    NameValuePair 简单名称值对节点类型
    01安卓目录结构
    SDK目录结构
    java wait和notify及 synchronized sleep 总结
    安卓常用的第三方框架
    OkHttp使用教程
  • 原文地址:https://www.cnblogs.com/lyh523329053/p/11664797.html
Copyright © 2011-2022 走看看